Font.getUnits

Overview | Methods | Fields | This Package | All Packages

Font.getUnits

Retrieves the units in which the font's size is measured.

Syntax

public final int getUnits()

Return Value

Returns one of the enumeration constants defined in the FontSize class.

Remarks

You specify the units in which a font's size are measured when you construct the Font object.