English | Site Directory

Android - An Open Handset Alliance Project

android.graphics
public class

android.graphics.BitmapShader

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

Summary

Public Constructors

          BitmapShader(Bitmap bitmap, TileMode tileX, TileMode tileY)
Call this to create a new shader that will draw with a bitmap.
Methods inherited from class android.graphics.Shader
Methods inherited from class java.lang.Object

Details

Public Constructors

public BitmapShader(Bitmap bitmap, TileMode tileX, 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 m5-rc15g - 14 May 2008 12:50