public class

BitmapShader

extends Shader
java.lang.Object
   ↳ android.graphics.Shader
     ↳ android.graphics.BitmapShader

Summary

Public Constructors
BitmapShader(Bitmap bitmap, Shader.TileMode tileX, Shader.TileMode tileY)
Call this to create a new shader that will draw with a bitmap.
[Expand]
Inherited Methods
From class android.graphics.Shader
From class java.lang.Object

Public Constructors

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.