java.awt
Class Font
java.lang.Object
|
+--java.awt.Font
- public class Font
- extends java.lang.Object
|
Field Summary |
static int |
BOLD
|
protected java.lang.String |
name
|
static int |
PLAIN
|
protected int |
size
|
protected int |
style
|
|
Constructor Summary |
Font(java.lang.String name,
int style,
int size)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAIN
public static final int PLAIN
BOLD
public static final int BOLD
name
protected java.lang.String name
style
protected int style
size
protected int size
Font
public Font(java.lang.String name,
int style,
int size)
getSize
public int getSize()
isBold
public boolean isBold()
deriveFont
public Font deriveFont(int style)