Skip to main content

TryGetGlyphMetrics Method

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

Definition

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

bool TryGetGlyphMetrics(
ushort glyph,
out GlyphMetrics metrics
)
View Source

Parameters

  UInt16
The glyph id.
  GlyphMetrics
The glyph metrics.

Return Value

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

See Also

Reference

IGlyphTypeface Interface
Avalonia.Media Namespace