lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

Shader.TileMode

public static final enum Shader.TileMode
extends Enum<Shader.TileMode>

java.lang.Object
   ↳ java.lang.Enum<android.graphics.Shader.TileMode>
     ↳ android.graphics.Shader.TileMode


Summary

Enum values

Shader.TileMode  CLAMP

replicate the edge color if the shader draws outside of its original bounds  

Shader.TileMode  MIRROR

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

Shader.TileMode  REPEAT

repeat the shader's image horizontally and vertically  

Public methods

static Shader.TileMode valueOf(String name)
static final TileMode[] values()

Inherited methods

Enum values

CLAMP

added in API level 1
public static final Shader.TileMode CLAMP

replicate the edge color if the shader draws outside of its original bounds

MIRROR

added in API level 1
public static final Shader.TileMode MIRROR

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

REPEAT

added in API level 1
public static final Shader.TileMode REPEAT

repeat the shader's image horizontally and vertically

Public methods

valueOf

added in API level 1
public static Shader.TileMode valueOf (String name)

Parameters
name String

Returns
Shader.TileMode

values

added in API level 1
public static final TileMode[] values ()

Returns
TileMode[]