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 |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getFileExtension() | Gets File extension. |
| getFileName() | Gets File name. |
| getFontIndex() | Gets Font index inside TTC Font. |
| getOffset() | Gets offset inside the stream. |
| getStreamSource() | Gets the stream source. |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
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 |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getFileExtension()
public String getFileExtension()
Gets File extension.
Returns: java.lang.String - File extension.
getFileName()
public String getFileName()
Gets File name.
Returns: java.lang.String - File name.
getFontIndex()
public long getFontIndex()
Gets Font index inside TTC Font.
Returns: long - Font index inside TTC Font.
getOffset()
public long getOffset()
Gets offset inside the stream.
Returns: long - Offset inside the stream.
getStreamSource()
public StreamSource getStreamSource()
Gets the stream source.
Returns: StreamSource - The stream source.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |