TtcFontFileDefinition

Inheritance: java.lang.Object, com.aspose.font.FontFileDefinition

public class TtcFontFileDefinition extends FontFileDefinition

Represents file definition for TTC Font.

Constructors

ConstructorDescription
TtcFontFileDefinition(int fontIndex, String fileExtension, StreamSource streamSource, long offset)Creates a file definition using file content only.

Methods

MethodDescription
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:

ParameterTypeDescription
fontIndexintIndex of font inside TTC font collection.
fileExtensionjava.lang.StringExtension of font file collection.
streamSourceStreamSourceSource of font file collection.
offsetlongOffset 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:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int