Font.TryGetGlyphExtents(UInt32, GlyphExtents) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.