English | Site Directory

Android - An Open Handset Alliance Project

android.graphics
public class

android.graphics.LayerRasterizer

java.lang.Object
android.graphics.Rasterizer
android.graphics.LayerRasterizer

Summary

Public Constructors

          LayerRasterizer()

Public Methods

        void  addLayer(Paint paint, float dx, float dy)
Add a new layer (above any previous layers) to the rasterizer.
        void  addLayer(Paint paint)
Methods inherited from class android.graphics.Rasterizer
Methods inherited from class java.lang.Object

Details

Public Constructors

public LayerRasterizer()

Public Methods

public void addLayer(Paint paint, float dx, float dy)

Add a new layer (above any previous layers) to the rasterizer. The layer will extract those fields that affect the mask from the specified paint, but will not retain a reference to the paint object itself, so it may be reused without danger of side-effects.

public void addLayer(Paint paint)

Build m5-rc15g - 14 May 2008 12:50