|
intarsys CWT library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFontFamily
The family a font belongs to. This is a collection of similar fonts that are different with respect to their style.
Method Summary | |
---|---|
String |
getFamilyName()
for example |
IFont |
getFont(FontStyle style)
The IFont within the family with a specific FontStyle or
null. |
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. |
Method Detail |
---|
String getFamilyName()
IFont getFont(FontStyle style)
IFont
within the family with a specific FontStyle
or
null.
style
- The requested style.
IFont
within the family with a specific
FontStyle
or null.IFont[] getFonts()
IFont
instances within this family.
IFont
instances within this family.FontStyle[] getFontStyles()
FontStyle
instances in this family.
FontStyle
instances in this family.String getFontType()
void registerFont(IFont font)
IFont
to this family.
font
- The new IFont
|
intarsys CWT library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |