| java.lang.Object | ||
| ↳ | android.graphics.Shader | |
| ↳ | android.graphics.BitmapShader | |
Shader used to draw a bitmap as a texture. The bitmap can be repeated or mirrored by setting the tiling mode.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
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
| |||||||||||
Call this to create a new shader that will draw with a bitmap.
| 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. |