public final class Type1GlyphBBoxCalculator extends Object implements GlyphBBoxCalculator
An instance of this class can be reused with multiple glyphs in multiple fonts.
| Constructor and Description |
|---|
Type1GlyphBBoxCalculator(Matrix finalMatrix) |
| Modifier and Type | Method and Description |
|---|---|
Rect |
calculateBBox(FontData font,
int glyphID)
Returns the bounding box of glyphID scaled to [1000 0 0 1000]
|
public Type1GlyphBBoxCalculator(Matrix finalMatrix)
public Rect calculateBBox(FontData font, int glyphID) throws InvalidGlyphException, UnsupportedFontException
GlyphBBoxCalculatorcalculateBBox in interface GlyphBBoxCalculatorUnsupportedFontExceptionInvalidGlyphExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved