Skip to main content

GetGlyphAdvances Method

Returns an array of glyph advances in design em size.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

int[] GetGlyphAdvances(
ReadOnlySpan<ushort> glyphs
)
View Source

Parameters

  ReadOnlySpan(UInt16)
The glyph indices.

Return Value

Int32[]
An array of glyph advances.

See Also

Reference

IGlyphTypeface Interface
Avalonia.Media Namespace