English | Site Directory

Android - An Open Handset Alliance Project

android.graphics
public static final enum

android.graphics.Shader.TileMode

java.lang.Object
java.lang.Enum Serializable Comparable
android.graphics.Shader.TileMode

Summary

Enum Values

TileMode  CLAMP  replicate the edge color if the shader draws outside of its original bounds  
TileMode  MIRROR  repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam  
TileMode  REPEAT  repeat the shader's image horizontally and vertically  

Public Methods

      static  TileMode  valueOf(String name)
    final  static  TileMode[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final TileMode CLAMP

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

public static final TileMode MIRROR

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

public static final TileMode REPEAT

repeat the shader's image horizontally and vertically

Public Methods

public static TileMode valueOf(String name)

public static final TileMode[] values()

Build m5-rc15i - 10 Jun 2008 13:54