Android Guides | Samples

Android.Graphics.SaveFlags Enumeration

Enumerates values returned by several methods of SaveFlags and taken as a parameter of several methods of Canvas.

Syntax

[System.Flags]
public enum SaveFlags

Remarks

Members

Member NameDescription
Allrestore everything when restore() is called
Cliprestore the current clip when restore() is called
ClipToLayerclip against the layer's bounds
FullColorLayerthe layer needs to 8-bits per color component
HasAlphaLayerthe layer needs to per-pixel alpha
Matrixrestore the current matrix when restore() is called

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Graphics.SaveFlags are listed below.

See Also: Enum

Public Fields

AllSaveFlags. restore everything when restore() is called
ClipSaveFlags. restore the current clip when restore() is called
ClipToLayerSaveFlags. clip against the layer's bounds
FullColorLayerSaveFlags. the layer needs to 8-bits per color component
HasAlphaLayerSaveFlags. the layer needs to per-pixel alpha
MatrixSaveFlags. restore the current matrix when restore() is called