TileMode
class TileMode
kotlin.Any | ||
↳ | kotlin.Enum<android.graphics.Shader.TileMode> | |
↳ | android.graphics.Shader.TileMode |
Summary
Enum values | |
---|---|
Replicate the edge color if the shader draws outside of its original bounds. |
|
Render the shader's image pixels only within its original bounds. |
|
Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam. |
|
Repeat the shader's image horizontally and vertically. |
Enum values
CLAMP
enum val CLAMP : Shader.TileMode
Replicate the edge color if the shader draws outside of its original bounds.
DECAL
enum val DECAL : Shader.TileMode
Render the shader's image pixels only within its original bounds. If the shader draws outside of its original bounds, transparent black is drawn instead.
MIRROR
enum val MIRROR : Shader.TileMode
Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.
REPEAT
enum val REPEAT : Shader.TileMode
Repeat the shader's image horizontally and vertically.