Package de.intarsys.cwt.font
Class FontFamily
java.lang.Object
de.intarsys.cwt.font.FontFamily
- All Implemented Interfaces:
IFontFamily
An abstraction of a fonts family.
-
Constructor Details
-
FontFamily
-
-
Method Details
-
getFamilyName
Description copied from interface:IFontFamilyfor example- Specified by:
getFamilyNamein interfaceIFontFamily- Returns:
- for example
-
getFont
Description copied from interface:IFontFamily- Specified by:
getFontin interfaceIFontFamily- Parameters:
style- The requested style.- Returns:
- The
IFontwithin the family with a specificFontStyleor null.
-
getFontIterator
-
getFonts
Description copied from interface:IFontFamilyAllIFontinstances within this family.- Specified by:
getFontsin interfaceIFontFamily- Returns:
- All
IFontinstances within this family.
-
getFontStyles
Description copied from interface:IFontFamilyThe supportedFontStyleinstances in this family.- Specified by:
getFontStylesin interfaceIFontFamily- Returns:
- The supported
FontStyleinstances in this family.
-
getFontType
Description copied from interface:IFontFamilyThe font type. This is for example "TrueType" or "Type1".- Specified by:
getFontTypein interfaceIFontFamily- Returns:
- The font type.
-
registerFont
Description copied from interface:IFontFamilyAdd a newIFontto this family.- Specified by:
registerFontin interfaceIFontFamily- Parameters:
font- The newIFont
-