Interface FontFamily
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AWTFontFamily
,CompoundFontFamily
,DefaultFontFamily
,MonospaceFontFamily
public interface FontFamily extends Serializable
Creation-Date: 07.11.2005, 19:06:25- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String[]
getAllNames()
String
getFamilyName()
Returns the name of the font family (in english).FontRecord
getFontRecord(boolean bold, boolean italics)
This selects the most suitable font in that family.
-
-
-
Method Detail
-
getFamilyName
String getFamilyName()
Returns the name of the font family (in english).- Returns:
-
getAllNames
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:
-
-