Package de.intarsys.cwt.font
Interface IFontFamily
-
- All Known Implementing Classes:
FontFamily
public interface IFontFamilyThe family a font belongs to. This is a collection of similar fonts that are different with respect to their style.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFamilyName()for exampleIFontgetFont(FontStyle style)IFont[]getFonts()AllIFontinstances within this family.FontStyle[]getFontStyles()The supportedFontStyleinstances in this family.java.lang.StringgetFontType()The font type.voidregisterFont(IFont font)Add a newIFontto this family.
-
-
-
Method Detail
-
getFamilyName
java.lang.String getFamilyName()
for example- Returns:
- for example
-
getFonts
IFont[] getFonts()
AllIFontinstances within this family.- Returns:
- All
IFontinstances within this family.
-
getFontStyles
FontStyle[] getFontStyles()
The supportedFontStyleinstances in this family.- Returns:
- The supported
FontStyleinstances in this family.
-
getFontType
java.lang.String getFontType()
The font type. This is for example "TrueType" or "Type1".- Returns:
- The font type.
-
-