public class FontFamilyDefinition extends Object
The font family definition.
| Constructor and Description |
|---|
FontFamilyDefinition()
Initializes a new instance of the
FontFamilyDefinition class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addFontDefinition(int style,
FontDefinitionExt fontDef)
Adds the font definition to font family.
|
String |
getFamilyName()
Gets a family name of this family.
|
FontDefinitionExt |
getFontDefinition(int style)
Gets the font definition from family for specific style.
|
boolean |
matchesLocalizedFamilyName(String localizedFamilyName)
Matches localized family names in this family.
|
public FontFamilyDefinition()
Initializes a new instance of the FontFamilyDefinition class.
public final void addFontDefinition(int style,
FontDefinitionExt fontDef)
Adds the font definition to font family.
style - The style.fontDef - The font definition.public final FontDefinitionExt getFontDefinition(int style)
Gets the font definition from family for specific style.
style - The style.public final boolean matchesLocalizedFamilyName(String localizedFamilyName)
Matches localized family names in this family.
localizedFamilyName - The localized family name.public final String getFamilyName()
Gets a family name of this family.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.