TtcFontFileDefinition
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.font.FontFileDefinition
public class TtcFontFileDefinition extends FontFileDefinition
Represents file definition for TTC Font.
Constructors
Constructor | Description |
---|---|
TtcFontFileDefinition(int fontIndex, String fileExtension, StreamSource streamSource, long offset) | Creates a file definition using file content only. |
Methods
Method | Description |
---|---|
getFontIndex() | Gets Font index inside TTC Font. |
TtcFontFileDefinition(int fontIndex, String fileExtension, StreamSource streamSource, long offset)
public TtcFontFileDefinition(int fontIndex, String fileExtension, StreamSource streamSource, long offset)
Creates a file definition using file content only.
Parameters:
Parameter | Type | Description |
---|---|---|
fontIndex | int | Index of font inside TTC font collection. |
fileExtension | java.lang.String | Extension of font file collection. |
streamSource | StreamSource | Source of font file collection. |
offset | long | Offset to font data in font file collection, see TTC Header, Offset Table in OpenType Font File specification |
getFontIndex()
public long getFontIndex()
Gets Font index inside TTC Font.
Returns: long - Font index inside TTC Font.