Editar

Font.TryGetGlyphExtents(UInt32, GlyphExtents) Method

Definition

Tries to get the extents (bounding box) of a glyph.

public bool TryGetGlyphExtents(uint glyph, out HarfBuzzSharp.GlyphExtents extents);

Parameters

glyph
UInt32

The glyph ID.

extents
GlyphExtents

Returns the extents of the glyph.

Returns

true if the extents were found; otherwise, false.

Applies to