to top
Android APIs
public static final enum

Shader.TileMode

extends Enum<E extends  Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ 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

? Examples
static Shader.TileMode valueOf( String name)

? Examples
final static TileMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Shader.TileMode CLAMP

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

public static final Shader.TileMode MIRROR

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

public static final Shader.TileMode REPEAT

repeat the shader's image horizontally and vertically

Public Methods

public static Shader.TileMode valueOf (String name)

Added in API level 1

public static final TileMode[] values ()

Added in API level 1

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.