public class Font
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BOLD |
static int |
ITALIC |
static int |
PLAIN |
Constructor and Description |
---|
Font(java.lang.String name_,
int style_,
int size_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontName()
Returns the name of this font.
|
int |
getStyle()
Returns the style of this font.
|
public static final int PLAIN
public static final int BOLD
public static final int ITALIC