Struct LayerParameters
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
Contains the content bounds, mask information, opacity settings, and other options for a layer resource.
D2D1_LAYER_PARAMETERS1
public struct LayerParameters : IEquatable<LayerParameters>
- Implements
- Inherited Members
Constructors
Properties
- ContentBounds
The content bounds of the layer. Content outside these bounds is not guaranteed to render.
- GeometricMask
The geometric mask specifies the area of the layer that is composited into the render target.
- LayerOptions
Additional options for the layer creation.
- MaskAntialiasMode
A value that specifies the antialiasing mode for the geometricMask.
- MaskTransform
A value that specifies the transform that is applied to the geometric mask when composing the layer.
- Opacity
An opacity value that is applied uniformly to all resources in the layer when compositing to the target.
- OpacityBrush
An optional brush that is used to modify the opacity of the layer. The brush is mapped to the layer, and the alpha channel of each mapped brush pixel is multiplied against the corresponding layer pixel.