|
Control Surface API
3.0.3
|
Public Member Functions | |
| double | getBearingX () |
| double | getBearingY () |
| double | getWidth () |
| double | getHeight () |
| double | getAdvanceX () |
| double | getAdvanceY () |
API version 6
Definition at line 6 of file TextExtents.java.
| double getAdvanceX | ( | ) |
Returns the distance to advance in the X direction after drawing these glyphs.
| double getAdvanceY | ( | ) |
Returns the distance to advance in the Y direction after drawing these glyphs. Will typically be zero except for vertical text layout as found in East-Asian languages.
| double getBearingX | ( | ) |
Returns the horizontal distance from the origin to the leftmost part of the glyphs as drawn. Positive if the glyphs lie entirely to the right of the origin.
| double getBearingY | ( | ) |
Returns the vertical distance from the origin to the topmost part of the glyphs as drawn. Positive only if the glyphs lie completely below the origin; will usually be negative.
| double getHeight | ( | ) |
Returns the height of the glyphs as drawn.
| double getWidth | ( | ) |
Returns the width of the glyphs as drawn.