Skip to content

Most visited

Recently visited

navigation
Added in API level 1
Deprecated since API level 21

LayerRasterizer

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.

Inherited methods

From class android.graphics.Rasterizer
From class java.lang.Object

Public constructors

LayerRasterizer

Added in API level 1
LayerRasterizer ()

Public methods

addLayer

Added in API level 1
void addLayer (Paint paint)

Parameters
paint Paint

addLayer

Added in API level 1
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.

Parameters
paint Paint
dx float
dy float
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.