Struct GlyphDesignMetrics
Per-glyph horizontal metrics in unscaled font design units (the same space as UnitsPerEm and Ascender).
public readonly record struct GlyphDesignMetrics : IEquatable<GlyphDesignMetrics>
- Implements
- Inherited Members
Constructors
GlyphDesignMetrics(int, int)
Per-glyph horizontal metrics in unscaled font design units (the same space as UnitsPerEm and Ascender).
public GlyphDesignMetrics(int AdvanceWidth, int LeftSideBearing)
Parameters
AdvanceWidthintHorizontal advance to the next glyph, in font design units.
LeftSideBearingintDistance from the glyph origin to the left edge of the glyph's bounding box, in font design units.
Properties
AdvanceWidth
Horizontal advance to the next glyph, in font design units.
public int AdvanceWidth { get; init; }
Property Value
LeftSideBearing
Distance from the glyph origin to the left edge of the glyph's bounding box, in font design units.
public int LeftSideBearing { get; init; }