Android
android.graphics
public class

android.graphics.BitmapShader

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.
Methods inherited from class android.graphics.Shader
Methods inherited from class java.lang.Object

Details

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48