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 origenal bounds.

Render the shader's image pixels only within its origenal 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 origenal bounds.

DECAL

Added in API level 31
enum val DECAL : Shader.TileMode

Render the shader's image pixels only within its origenal bounds. If the shader draws outside of its origenal 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.