Package com.adobe.fontengine.font
Interface GlyphBBoxCalculator
- All Known Implementing Classes:
TrueTypeGlyphBBoxCalculator,Type1GlyphBBoxCalculator,Type2GlyphBBoxCalculator
public interface 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
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
-