Fields
Name | Description |
---|---|
BOLD | The bold style constant. |
ITALIC | The italicized style constant. |
name | The logical name of this font. |
PLAIN | The plain style constant. |
size | The point size of this font. |
style | The style of the font. |
Constructors
Name | Description |
---|---|
Font(String, int, int) | Creates a new font with the specified name, style and point size. |
Methods
Name | Description |
---|---|
decode(String) | Gets the specified font using the name passed in. |
equals(Object) | Compares this object to the specifed object. |
getFamily() | Gets the platform specific family name of the font. |
getFont(String) | Gets a font from the system properties list. |
getFont(String, Font) | Gets the specified font from the system properties list. |
getName() | Gets the logical name of the font. |
getPeer() | Gets the peer of the font. |
getSize() | Gets the point size of the font. |
getStyle() | Gets the style of the font. |
hashCode() | Returns a hashcode for this font. |
isBold() | Indicates whether the font's style is bold. |
isItalic() | Indicates whether the font's style is italic. |
isPlain() | Indicates whether the font's style is plain. |
toString() | Converts this object to a String representation. |