FontDefinitionExt
Inheritance: java.lang.Object
public class FontDefinitionExt
Class contains font definition,
Constructors
Constructor | Description |
---|---|
FontDefinitionExt(String fontName, String familyName, List | Initializes a new instance of the FontDefinitionExt class. |
Methods
Method | Description |
---|---|
getFamilyName() | Gets the font family name. |
getStyle() | Gets the font style. |
getFontName() | Gets the name of the font. |
getPostscriptName() | Gets the postscript name of the font. |
getType() | Gets the font type. |
getFontFile() | Gets the font file. |
getFileName() | Gets the name of the file. |
getFont() | Gets the font. |
FontDefinitionExt(String fontName, String familyName, List localizedFamilyNames, int type, String fileName, long offset)
public FontDefinitionExt(String fontName, String familyName, List<String> localizedFamilyNames, int type, String fileName, long offset)
Initializes a new instance of the FontDefinitionExt class.
Parameters:
Parameter | Type | Description |
---|---|---|
fontName | java.lang.String | Name of the font. |
familyName | java.lang.String | Family of the font. |
localizedFamilyNames | java.util.List<java.lang.String> | Localized font family names. |
type | int | The type. |
fileName | java.lang.String | Name of the file. |
offset | long | The offset. |
getFamilyName()
public final String getFamilyName()
Gets the font family name.
Value: The font family name.
Returns: java.lang.String
getStyle()
public final String getStyle()
Gets the font style.
Value: The font style.
Returns: java.lang.String
getFontName()
public final String getFontName()
Gets the name of the font.
Value: The name of the font.
Returns: java.lang.String
getPostscriptName()
public final String getPostscriptName()
Gets the postscript name of the font.
Value: The postscript name of the font.
Returns: java.lang.String
getType()
public final int getType()
Gets the font type.
Value: The font type.
Returns: int
getFontFile()
public final FontFileDefinition getFontFile()
Gets the font file.
Value: The font file.
Returns: com.aspose.fonts.sources.FontFileDefinition
getFileName()
public final String getFileName()
Gets the name of the file.
Value: The name of the file.
Returns: java.lang.String
getFont()
public final IFont getFont()
Gets the font.
Returns: com.aspose.fonts.IFont - Returns font for current definition.