to top
Android APIs
public class

LayerRasterizer

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

Summary

Public Constructors

? Examples
LayerRasterizer()
Public Methods

? Examples
void addLayer( Paint paint)

? Examples
void addLayer( Paint paint, float dx, float dy)
Add a new layer (above any previous layers) to the rasterizer.
[Expand]
Inherited Methods
From class android.graphics.Rasterizer
From class java.lang.Object

Public Constructors

public LayerRasterizer ()

Added in API level 1

Public Methods

public void addLayer (Paint paint)

Added in API level 1

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

Added in API level 1

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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.