Table of Contents

Enum LayerOptions

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

Specifies how the layer contents should be prepared.
D2D1_LAYER_OPTIONS1

[Flags]
public enum LayerOptions

Fields

None = 0

Default layer behavior. A premultiplied layer target is pushed and its contents are cleared to transparent black.

InitializeFromBackground = 1

The layer is not cleared to transparent black.

IgnoreAlpha = 2

The layer is always created as ignore alpha. All content rendered into the layer will be treated as opaque.