Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
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.