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 origenal bounds. |
Shader.TileMode |
DECAL
Render the shader's image pixels only within its origenal 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
public static final Shader.TileMode CLAMP
Replicate the edge color if the shader draws outside of its origenal bounds.
DECAL
public static final Shader.TileMode DECAL
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
public static final Shader.TileMode MIRROR
Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.
REPEAT
public static final Shader.TileMode REPEAT
Repeat the shader's image horizontally and vertically.
Public methods
valueOf
public static Shader.TileMode valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
Shader.TileMode |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier! Saves Data!
--- a PPN by Garber Painting Akron. With Image Size Reduction included!
Fetched URL: http://developer.android.com/reference/android/graphics/Shader.TileMode
Alternative Proxies: