Table of Contents

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

RectangleF

Count

Gets the number of paths in this layer.

public int Count { get; }

Property Value

int

IntersectionRule

Gets the fill rule for rasterization of this layer.

public IntersectionRule IntersectionRule { get; }

Property Value

IntersectionRule

Kind

Gets the semantic kind of the layer (for policy decisions).

public GlyphLayerKind Kind { get; }

Property Value

GlyphLayerKind

Paint

Gets the paint definition to use for this layer; may be null.

public Paint? Paint { get; }

Property Value

Paint

PixelAlphaCompositionMode

Gets the pixel alpha composition mode to use for this layer.

public PixelAlphaCompositionMode PixelAlphaCompositionMode { get; }

Property Value

PixelAlphaCompositionMode

PixelColorBlendingMode

Gets the pixel color blending mode to use for this layer.

public PixelColorBlendingMode PixelColorBlendingMode { get; }

Property Value

PixelColorBlendingMode

StartIndex

Gets the start index (inclusive) of the layer span within the glyph's path list.

public int StartIndex { get; }

Property Value

int