Class TrueTypeGlyphBBoxCalculator
- java.lang.Object
-
- com.adobe.fontengine.font.opentype.TrueTypeGlyphBBoxCalculator
-
- All Implemented Interfaces:
GlyphBBoxCalculator
public class TrueTypeGlyphBBoxCalculator extends java.lang.Object implements GlyphBBoxCalculator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectcalculateBBox(FontData font, int glyphID)Returns the bounding box of glyphID scaled to [1000 0 0 1000]
-
-
-
Method Detail
-
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- Returns:
- the glyph bounding box.
- Throws:
InvalidFontExceptionUnsupportedFontException
-
-