GlyphTypeface.

GetGlyphAdvances(ReadOnlySpan<ushort>) Method

Summary

Returns an array of glyph advances in design em size.
Namespace
Avalonia.Media
Containing Type
GlyphTypeface

Syntax

public int[] GetGlyphAdvances(ReadOnlySpan<ushort> glyphs)

Parameters

Name Type Description
glyphs ReadOnlySpan<ushort> The glyph indices.

Return Value

Type Description
int[]