public class GlyphMetrics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Rectangle |
boundingBox
The glyph bounding box.
|
float |
leftSideBearing
The glyph left side bearing.
|
float |
rightSideBearing
The glyph right side bearing.
|
Constructor and Description |
---|
GlyphMetrics()
Default constructor.
|
GlyphMetrics(float x,
float y,
float width,
float height,
float leftSideBearing,
float rightSideBearing)
Constructs a glyph metrics object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public Rectangle boundingBox
public float leftSideBearing
public float rightSideBearing
public GlyphMetrics()
public GlyphMetrics(float x, float y, float width, float height, float leftSideBearing, float rightSideBearing)
x
- the glyph x coordinate.y
- the glyph y coordinate.width
- the glyph width.height
- the glyph height.leftSideBearing
- the left side bearing associated with this glyph.rightSideBearing
- the right side bearing associated with this glyph.