Glyph
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Cloneable
public class Glyph implements Cloneable
Represents a Font glyph.
Methods
| Method | Description |
|---|---|
| clone() | Returns copy of glyph. |
| equals(Object arg0) | |
| getClass() | |
| getGlyphBBox() | Gets glyph BBox. |
| getLeftSidebearingX() | Gets glyph side bearing x coordinate. |
| getLeftSidebearingY() | Gets glyph side bearing y coordinate. |
| getPath() | Gets glyph path. |
| getSourceResolution() | Gets resolution of the source command set. |
| getState() | Gets glyph state. |
| getWidthVectorX() | Gets glyph width vector. |
| getWidthVectorY() | Gets glyph width vector. |
| hashCode() | |
| isEmpty() | True if the glyph doesn’t contain drawing instructions. |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
clone()
public Object clone()
Returns copy of glyph.
Returns: java.lang.Object - Copy of Glyph.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getGlyphBBox()
public FontBBox getGlyphBBox()
Gets glyph BBox.
Returns: FontBBox - Glyph BBox
getLeftSidebearingX()
public double getLeftSidebearingX()
Gets glyph side bearing x coordinate.
Returns: double - Glyph side bearing x coordinate.
getLeftSidebearingY()
public double getLeftSidebearingY()
Gets glyph side bearing y coordinate.
Returns: double - Glyph side bearing y coordinate.
getPath()
public SegmentPath getPath()
Gets glyph path.
Returns: SegmentPath - Glyph path.
getSourceResolution()
public int getSourceResolution()
Gets resolution of the source command set.
Returns: int - Resolution of the source command set.
getState()
public GlyphState getState()
Gets glyph state.
Returns: GlyphState - Glyph state.
getWidthVectorX()
public double getWidthVectorX()
Gets glyph width vector. Coordinate x.
Returns: double - Glyph width vector. Coordinate x.
getWidthVectorY()
public double getWidthVectorY()
Gets glyph width vector. Coordinate y.
Returns: double - Glyph width vector. Coordinate y.
hashCode()
public native int hashCode()
Returns: int
isEmpty()
public boolean isEmpty()
True if the glyph doesn’t contain drawing instructions.
Returns: boolean - True if the glyph doesn’t contain drawing instructions.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |