Back to API Reference
Struct

ShapedGlyph

sealed

Represents a shaped glyph with positioning information from the shaping engine.

Remarks

Produced by Shaper after OpenType shaping. Contains the glyph ID, cluster mapping back to codepoints, and advance/offset values.
public int glyphId

The font-specific glyph identifier.

public int cluster

Absolute index into the codepoints array for the cluster that produced this glyph.

public float advanceX

Horizontal advance to the next glyph position.

public float advanceY

Vertical advance to the next glyph position.

public float offsetX

Horizontal offset from the pen position for rendering.

public float offsetY

Vertical offset from the pen position for rendering.