Package com.adobe.fontengine.font
Interface GlyphBBoxCalculator
-
- All Known Implementing Classes:
TrueTypeGlyphBBoxCalculator,Type1GlyphBBoxCalculator,Type2GlyphBBoxCalculator
public interface GlyphBBoxCalculator
-
-
Method Summary
All Methods Instance Methods Abstract 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
Rect calculateBBox(FontData font, int glyphID) throws InvalidFontException, UnsupportedFontException
Returns the bounding box of glyphID scaled to [1000 0 0 1000]- Parameters:
font-glyphID-- Returns:
- the glyph bounding box.
- Throws:
InvalidFontExceptionUnsupportedFontException
-
-