Retrieves the units in which the font's size is measured.
public final int getUnits()
Returns one of the enumeration constants defined in the FontSize class.
You specify the units in which a font's size are measured when you construct the Font object.