Added in API level 1

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

Added in API level 1
enum val CLAMP : Shader.TileMode

Replicate the edge color if the shader draws outside of its original bounds.

DECAL

Added in API level 31
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

Added in API level 1
enum val MIRROR : Shader.TileMode

Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.

REPEAT

Added in API level 1
enum val REPEAT : Shader.TileMode

Repeat the shader's image horizontally and vertically.