IGlyphTypefaceTryGetGlyphMetrics Method

Tries to get a glyph's metrics in em units.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
bool TryGetGlyphMetrics(
	ushort glyph,
	out GlyphMetrics metrics
)

Parameters

glyph  UInt16
The glyph id.
metrics  GlyphMetrics
The glyph metrics.

Return Value

Boolean
true if an glyph's metrics was found, false otherwise.

See Also