BitmapShaderpublic class BitmapShader extends Shader
Fields Summary |
---|
private Bitmap | mBitmap |
Constructors Summary |
---|
public BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY)Call this to create a new shader that will draw with a bitmap.
mBitmap = bitmap;
native_instance = nativeCreate(bitmap.ni(),
tileX.nativeInt, tileY.nativeInt);
|
Methods Summary |
---|
private static native int | nativeCreate(int native_bitmap, int shaderTileModeX, int shaderTileModeY)
|
|