TtcFontSource
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.font.IFontSource
public class TtcFontSource implements IFontSource
Represents TTC Font source.
Constructors
Constructor | Description |
---|---|
TtcFontSource(StreamSource source) | Creates TTC Font source based on IStreamSource stream providing object. |
TtcFontSource(String filePath) | Creates TTC Font source based on ttc font collection file path. |
Methods
Method | Description |
---|---|
getFontDefinitions() | Returns Font definition array of the TTC Font source. |
TtcFontSource(StreamSource source)
public TtcFontSource(StreamSource source)
Creates TTC Font source based on IStreamSource stream providing object.
Parameters:
Parameter | Type | Description |
---|---|---|
source | StreamSource | Source stream to extract TTC Font collection data from. |
TtcFontSource(String filePath)
public TtcFontSource(String filePath)
Creates TTC Font source based on ttc font collection file path.
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | java.lang.String | Font collection file. |
getFontDefinitions()
public FontDefinition[] getFontDefinitions()
Returns Font definition array of the TTC Font source.
Returns: com.aspose.font.FontDefinition[] - All font definitions from TTC Font source.