class Font
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Font.TextExtents |
Modifier and Type | Field and Description |
---|---|
private FontMetrics |
metrics |
private int |
size |
Constructor and Description |
---|
Font(int style,
int size) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
ascent() |
(package private) int |
descent() |
(package private) Font.TextExtents |
textExtents(java.lang.String text) |
private int |
toTwips(int length) |
private int size
private FontMetrics metrics
Font(int style, int size) throws java.lang.Exception
java.lang.Exception
int ascent()
int descent()
Font.TextExtents textExtents(java.lang.String text)
private int toTwips(int length)