CanvasLayerOptions Enumeration |
Advanced options specifying how layer contents should be prepared.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax [FlagsAttribute]
public enum CanvasLayerOptions
Members
| Member name | Value | Description |
---|
| None | 0 | Default layer behavior. The layer contents are cleared to transparent black. |
| InitializeFromBackground | 1 | The layer is not cleared to transparent black. Instead it inherits the existing background colors that lie behind it. |
| IgnoreAlpha | 2 | The layer ignores alpha. All content rendered into the layer will be treated as opaque. |
See Also