Class TrueTypeGlyphBBoxCalculator
java.lang.Object
com.adobe.fontengine.font.opentype.TrueTypeGlyphBBoxCalculator
- All Implemented Interfaces:
GlyphBBoxCalculator
-
Method Summary
Modifier and TypeMethodDescriptioncalculateBBox(FontData font, int glyphID) Returns the bounding box of glyphID scaled to [1000 0 0 1000]
-
Method Details
-
calculateBBox
public Rect calculateBBox(FontData font, int glyphID) throws InvalidFontException, UnsupportedFontException Description copied from interface:GlyphBBoxCalculatorReturns the bounding box of glyphID scaled to [1000 0 0 1000]- Specified by:
calculateBBoxin interfaceGlyphBBoxCalculator- Parameters:
font-glyphID-- Returns:
- the glyph bounding box.
- Throws:
InvalidFontExceptionUnsupportedFontException
-