Back to API Reference
Struct

GlyphMetrics

sealed

Metrics that define size, position and spacing of a glyph for text layout. Values are in font design units.

[ctor]public GlyphMetrics()
public float width

Width of the glyph bounding box in design units.

public float height

Height of the glyph bounding box in design units.

public float horizontalBearingX

Horizontal distance from the origin to the left edge of the bounding box.

public float horizontalBearingY

Vertical distance from the baseline to the top edge of the bounding box.

public float horizontalAdvance

Horizontal distance to advance to the next glyph origin.