The getFont method of the FontX Class contains the following signatures:
getFont(String face, int style, int size, int flags)
getFont(String face, Vector v, int size)
Retrieves a font if an exact match is made, given the font face, style, size, and any specified flags.
public static Font getFont(String face, int style, int size, int flags);
Returns the Font that is the exact match to the given parameters.
face | The font face. |
style | The font style. |
size | The font size, in points. |
flags | One or more of the following font flags: |
Retrieves a font if an exact match is made, given the font face, vector, and size.
public static Font getFont(String face, Vector v, int size);
Returns the Font that is the exact match to the given parameters.
face | The font face. |
v | A list of style names. |
size | The font size, in points. |