TryGetGlyphMetrics Method
Tries to get a glyph's metrics in em units.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
bool TryGetGlyphMetrics(
ushort glyph,
out GlyphMetrics metrics
)
Function TryGetGlyphMetrics (
glyph As UShort,
<OutAttribute> ByRef metrics As GlyphMetrics
) As Boolean
abstract TryGetGlyphMetrics :
glyph : uint16 *
metrics : GlyphMetrics byref -> bool
Parameters
- UInt16
- The glyph id.
- GlyphMetrics
- The glyph metrics.
Return Value
Boolean
true
if an glyph's metrics was found, false
otherwise.