Build 1.0_r1(from source)

android.graphics
Class BitmapShader

java.lang.Object
  extended by android.graphics.Shader
      extended by android.graphics.BitmapShader

public class BitmapShader
extends Shader


Nested Class Summary
 
Nested classes/interfaces inherited from class android.graphics.Shader
Shader.TileMode
 
Field Summary
 
Fields inherited from class android.graphics.Shader
native_instance
 
Constructor Summary
BitmapShader(Bitmap bitmap, Shader.TileMode tileX, Shader.TileMode tileY)
          Call this to create a new shader that will draw with a bitmap.
 
Method Summary
 
Methods inherited from class android.graphics.Shader
finalize, getLocalMatrix, setLocalMatrix
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitmapShader

public BitmapShader(Bitmap bitmap,
                    Shader.TileMode tileX,
                    Shader.TileMode tileY)
Call this to create a new shader that will draw with a bitmap.

Parameters:
bitmap - The bitmap to use inside the shader
tileX - The tiling mode for x to draw the bitmap in.
tileY - The tiling mode for y to draw the bitmap in.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature