GetGlyphAdvances Method
Returns an array of glyph advances in design em size.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
int[] GetGlyphAdvances(
ReadOnlySpan<ushort> glyphs
)
Function GetGlyphAdvances (
glyphs As ReadOnlySpan(Of UShort)
) As Integer()
abstract GetGlyphAdvances :
glyphs : ReadOnlySpan<uint16> -> int[]
Parameters
- ReadOnlySpan(UInt16)
- The glyph indices.
Return Value
Int32[]
An array of glyph advances.