public class Glyph extends Object implements Cloneable
Represents a Font glyph.
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns copy of glyph.
|
FontBBox |
getGlyphBBox()
Gets glyph BBox.
|
double |
getLeftSidebearingX()
Gets glyph side bearing x coordinate.
|
double |
getLeftSidebearingY()
Gets glyph side bearing y coordinate.
|
SegmentPath |
getPath()
Gets glyph path.
|
int |
getSourceResolution()
Gets resolution of the source command set.
|
GlyphState |
getState()
Gets glyph state.
|
double |
getWidthVectorX()
Gets glyph width vector.
|
double |
getWidthVectorY()
Gets glyph width vector.
|
boolean |
isEmpty()
True if the glyph doesn't contain drawing instructions.
|
public GlyphState getState()
Gets glyph state.
public boolean isEmpty()
True if the glyph doesn't contain drawing instructions.
public SegmentPath getPath()
Gets glyph path.
public double getLeftSidebearingX()
Gets glyph side bearing x coordinate.
public double getLeftSidebearingY()
Gets glyph side bearing y coordinate.
public double getWidthVectorX()
Gets glyph width vector. Coordinate x.
public double getWidthVectorY()
Gets glyph width vector. Coordinate y.
public int getSourceResolution()
Gets resolution of the source command set.
public FontBBox getGlyphBBox()
Gets glyph BBox.