Struct LayerParameters
Contains the content bounds, mask information, opacity settings, and other options for a layer resource.
public struct LayerParameters
- Inherited Members
Fields
ContentBounds
The content bounds of the layer. Content outside these bounds is not guaranteed to render.
public RawRectangleF ContentBounds
Field Value
- RawRectangleF
GeometricMask
The geometric mask specifies the area of the layer that is composited into the render target.
public Geometry GeometricMask
Field Value
LayerOptions
A value that specifies whether the layer intends to render text with ClearType antialiasing.
public LayerOptions LayerOptions
Field Value
MaskAntialiasMode
A value that specifies the antialiasing mode for the geometricMask.
public AntialiasMode MaskAntialiasMode
Field Value
MaskTransform
A value that specifies the transform that is applied to the geometric mask when composing the layer.
public RawMatrix3x2 MaskTransform
Field Value
- RawMatrix3x2
Opacity
An opacity value that is applied uniformly to all resources in the layer when compositing to the target.
public float Opacity
Field Value
OpacityBrush
A 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.
public Brush OpacityBrush