Interface FontFamily
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AWTFontFamily,CompoundFontFamily,DefaultFontFamily,MonospaceFontFamily
public interface FontFamily extends java.io.SerializableCreation-Date: 07.11.2005, 19:06:25- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getAllNames()java.lang.StringgetFamilyName()Returns the name of the font family (in english).FontRecordgetFontRecord(boolean bold, boolean italics)This selects the most suitable font in that family.
-
-
-
Method Detail
-
getFamilyName
java.lang.String getFamilyName()
Returns the name of the font family (in english).- Returns:
-
getAllNames
java.lang.String[] getAllNames()
-
getFontRecord
FontRecord getFontRecord(boolean bold, boolean italics)
This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.- Parameters:
bold-italics-- Returns:
-
-