Struct GlyphLayerInfo
- Namespace
- SixLabors.ImageSharp.Drawing.Text
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Describes a single painted layer as a span within the glyph's path list.
public readonly struct GlyphLayerInfo
- Inherited Members
Properties
Bounds
Gets the bounds of the layer geometry (device space).
public RectangleF Bounds { get; }
Property Value
Count
Gets the number of paths in this layer.
public int Count { get; }
Property Value
IntersectionRule
Gets the fill rule for rasterization of this layer.
public IntersectionRule IntersectionRule { get; }
Property Value
Kind
Gets the semantic kind of the layer (for policy decisions).
public GlyphLayerKind Kind { get; }
Property Value
Paint
Gets the paint definition to use for this layer; may be null.
public Paint? Paint { get; }
Property Value
PixelAlphaCompositionMode
Gets the pixel alpha composition mode to use for this layer.
public PixelAlphaCompositionMode PixelAlphaCompositionMode { get; }
Property Value
PixelColorBlendingMode
Gets the pixel color blending mode to use for this layer.
public PixelColorBlendingMode PixelColorBlendingMode { get; }
Property Value
StartIndex
Gets the start index (inclusive) of the layer span within the glyph's path list.
public int StartIndex { get; }