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