TtcFontSource

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.IFontSource

public class TtcFontSource implements IFontSource

表示 TTC 字体源。

构造函数

构造函数描述
TtcFontSource(StreamSource source)基于提供 IStreamSource 流对象创建 TTC 字体源。
TtcFontSource(String filePath)基于 TTC 字体集合文件路径创建 TTC 字体源。

方法

方法描述
equals(Object arg0)
getClass()
getFontDefinitions()返回 TTC 字体源的字体定义数组。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TtcFontSource(StreamSource source)

public TtcFontSource(StreamSource source)

基于提供 IStreamSource 流对象创建 TTC 字体源。

Parameters:

参数类型描述
sourceStreamSource用于提取 TTC 字体集合数据的源流。

TtcFontSource(String filePath)

public TtcFontSource(String filePath)

基于 TTC 字体集合文件路径创建 TTC 字体源。

Parameters:

参数类型描述
filePathjava.lang.String字体集合文件。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFontDefinitions()

public FontDefinition[] getFontDefinitions()

返回 TTC 字体源的字体定义数组。

Returns: com.aspose.font.FontDefinition[] - 来自 TTC 字体源的所有字体定义。

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:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int