Skip to content

Most visited

Recently visited

navigation
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

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

CLAMP

Added in API level 1
Shader.TileMode CLAMP

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

MIRROR

Added in API level 1
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
Shader.TileMode REPEAT

repeat the shader's image horizontally and vertically

Public methods

valueOf

Added in API level 1
Shader.TileMode valueOf (String name)

Parameters
name String
Returns
Shader.TileMode

values

Added in API level 1
TileMode[] values ()

Returns
TileMode[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.