to top
Android APIs
public class

LayerRasterizer

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

Summary

Public Constructors
LayerRasterizer()
Public Methods
void addLayer(Paint paint)
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.