charva.awt
Class Font
public class Font
extends java.lang.Object
The Font class in the CHARVA package exists for "compatibility"
with AWT; the only useful information it holds is whether the
style is BOLD or not.
Font(String name_, int style_, int size_)
|
String | getFontName() - Returns the name of this font.
|
int | getStyle() - Returns the style of this font.
|
BOLD
public static final int BOLD
ITALIC
public static final int ITALIC
PLAIN
public static final int PLAIN
Font
public Font(String name_,
int style_,
int size_)
getFontName
public String getFontName()
Returns the name of this font.
getStyle
public int getStyle()
Returns the style of this font.