- <init>
Constructs a Font.
- getBaseFont
Gets the BaseFont inside this object.
- setStyle
Sets the style using a String containing one or more of the following values:
normal, bold, italic,
- getSize
Gets the size of this font.
- setSize
Sets the size.
- setColor
Sets the color.
- getColor
Gets the color of this font.
- getFamilyname
Gets the familyname as a String.
- getStyle
Gets the style of this font.
- compareTo
Compares this Font with another
- difference
Replaces the attributes that are equal to null with the attributes of a given
font.
- getCalculatedBaseFont
Gets the BaseFont this class represents. For the built-in fonts a BaseFont is
calculated.