public class FontFamily extends Object implements IFontFamily
| Constructor and Description |
|---|
FontFamily(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFamilyName()
for example
|
IFont |
getFont(FontStyle style)
|
Iterator<IFont> |
getFontIterator() |
IFont[] |
getFonts()
All
IFont instances within this family. |
FontStyle[] |
getFontStyles()
The supported
FontStyle instances in this family. |
String |
getFontType()
The font type.
|
void |
registerFont(IFont font)
Add a new
IFont to this family. |
public FontFamily(String name)
public String getFamilyName()
IFontFamilygetFamilyName in interface IFontFamilypublic IFont getFont(FontStyle style)
IFontFamilygetFont in interface IFontFamilystyle - The requested style.IFont within the family with a specific
FontStyle or null.public IFont[] getFonts()
IFontFamilyIFont instances within this family.getFonts in interface IFontFamilyIFont instances within this family.public FontStyle[] getFontStyles()
IFontFamilyFontStyle instances in this family.getFontStyles in interface IFontFamilyFontStyle instances in this family.public String getFontType()
IFontFamilygetFontType in interface IFontFamilypublic void registerFont(IFont font)
IFontFamilyIFont to this family.registerFont in interface IFontFamilyfont - The new IFontCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.