Constructors
Returns Font initialized with default values
Returns Font with Typeface and default size
Constructs Font with default values with Typeface and size in points, horizontal scale, and horizontal skew. Horizontal scale emulates condensed and expanded fonts. Horizontal skew emulates oblique fonts.
Properties
Whether edge pixels draw opaque or with partial transparency.
If true, instructs the font manager to always hint glyphs. Returned value is only meaningful if platform uses FreeType as the font manager.
Returns true if baselines will be snapped to pixel positions when the current transformation matrix is axis aligned.
Returns true if bold is approximated by increasing the stroke width when creating glyph bitmaps from outlines.
Returns true if font and glyph metrics are requested to be linearly scalable.
Returns FontMetrics associated with Typeface. Results are scaled by text size but does not take into account dimensions required by text scale, text skew, fake bold, style stroke, and PathEffect.
Functions
Retrieves the bounds for each glyph
Return glyph outlines, some of which might be null.
Retrieves the positions for each glyph.
Retrieves the positions for each glyph, beginning at the specified origin.
Converts text into glyph indices.
Given an array of UTF32 character codes, return their corresponding glyph IDs.
Retrieves the advances for each glyph
Retrieves the x-positions for each glyph, beginning at the specified origin.
Returns a font with the same attributes of this font, but with the specified size.
If true, requests, but does not require, to use bitmaps in fonts instead of outlines.
Sets Typeface to typeface. Pass null to use the default typeface.