Android.Graphics.Canvas.SaveLayerAlpha Method
This behaves the same as save(), but in addition it allocates an offscreen bitmap.

Syntax

[Android.Runtime.Register("saveLayerAlpha", "(Landroid/graphics/RectF;II)I", "GetSaveLayerAlpha_Landroid_graphics_RectF_IIHandler")]
public virtual int SaveLayerAlpha (RectF bounds, int alpha, [Android.Runtime.GeneratedEnum] SaveFlags saveFlags)

Parameters

bounds
The maximum size the offscreen bitmap needs to be (in local coordinates)
alpha
The alpha to apply to the offscreen when when it is drawn during restore()
saveFlags
see _SAVE_FLAG constants

Returns

Documentation for this section has not yet been entered.

Remarks

This behaves the same as save(), but in addition it allocates an offscreen bitmap. All drawing calls are directed there, and only when the balancing call to restore() is made is that offscreen transfered to the canvas (or the previous layer). Subsequent calls to translate, scale, rotate, skew, concat or clipRect, clipPath all operate on this copy. When the balancing call to restore() is made, this copy is deleted and the previous matrix/clip state is restored.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1