public interface IFontMetricsProvider2 extends IFontMetricsProvider
Modifier and Type | Method and Description |
---|---|
GlyphMetrics[] |
getGlyphMetrics(Text text,
TextSpan[] spans)
Returns the bounding box and left side bearing of each glyph of the specified text if it were
displayed at 0,0 using the specified styles.
|
getCharacterBoundingBoxes, getFontSizePx
GlyphMetrics[] getGlyphMetrics(Text text, TextSpan[] spans)
text
- the text.spans
- an array of glyph intervals with associated style.