LayerRasterizer.AddLayer Method

Definition

Overloads

AddLayer(Paint)

Add a new layer (above any previous layers) to the rasterizer.

AddLayer(Paint, Single, Single)

Add a new layer (above any previous layers) to the rasterizer.

AddLayer(Paint)

Add a new layer (above any previous layers) to the rasterizer.

[Android.Runtime.Register("addLayer", "(Landroid/graphics/Paint;)V", "GetAddLayer_Landroid_graphics_Paint_Handler")]
public virtual void AddLayer (Android.Graphics.Paint? paint);
[<Android.Runtime.Register("addLayer", "(Landroid/graphics/Paint;)V", "GetAddLayer_Landroid_graphics_Paint_Handler")>]
abstract member AddLayer : Android.Graphics.Paint -> unit
override this.AddLayer : Android.Graphics.Paint -> unit

Parameters

paint
Paint
Attributes

Remarks

Java documentation for android.graphics.LayerRasterizer.addLayer(android.graphics.Paint, float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

AddLayer(Paint, Single, Single)

Add a new layer (above any previous layers) to the rasterizer.

[Android.Runtime.Register("addLayer", "(Landroid/graphics/Paint;FF)V", "GetAddLayer_Landroid_graphics_Paint_FFHandler")]
public virtual void AddLayer (Android.Graphics.Paint? paint, float dx, float dy);
[<Android.Runtime.Register("addLayer", "(Landroid/graphics/Paint;FF)V", "GetAddLayer_Landroid_graphics_Paint_FFHandler")>]
abstract member AddLayer : Android.Graphics.Paint * single * single -> unit
override this.AddLayer : Android.Graphics.Paint * single * single -> unit

Parameters

paint
Paint
dx
Single
dy
Single
Attributes

Remarks

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.

Java documentation for android.graphics.LayerRasterizer.addLayer(android.graphics.Paint, float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to