public class TtcFontSource extends Object
Represents TTC Font source.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
FontDefinition[] |
getFontDefinitions()
Returns Font definition array of the TTC Font source.
|
public TtcFontSource(StreamSource source)
Creates TTC Font source based on IStreamSource stream providing object.
source
- Source stream to extract TTC Font collection data from.public TtcFontSource(String filePath)
Creates TTC Font source based on ttc font collection file path.
filePath
- Font collection file.public FontDefinition[] getFontDefinitions()
Returns Font definition array of the TTC Font source.