TtfEncodingParameters

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.IEncodingParameters

public class TtfEncodingParameters implements IEncodingParameters

表示 TTF 编码参数。应用于从 TTF 字体请求特定编码。

构造函数

构造函数描述
TtfEncodingParameters(int platformId, int platformSpecificId)初始化 TtfEncodingParameters 类的新实例。

方法

方法描述
equals(Object arg0)
getClass()
getPlatformId()获取 PlatformId 值。
getPlatformSpecificId()获取 PlatformSpecificId 值。
hashCode()
notify()
notifyAll()
setPlatformId(int value)设置 PlatformId 值。
setPlatformSpecificId(int value)设置 PlatformSpecificId 值。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

TtfEncodingParameters(int platformId, int platformSpecificId)

public TtfEncodingParameters(int platformId, int platformSpecificId)

初始化 TtfEncodingParameters 类的新实例。接受 Platform Id 和 Platform-specific 编码 id 作为参数。这些参数用于从主字体 CMap 表请求特殊的 CMap 子表,详见 OpenType 字体文件规范中的表 ‘CMap’、’name’。

Parameters:

参数类型描述
platformIdint平台 id。
platformSpecificIdint平台特定编码 id。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getPlatformId()

public int getPlatformId()

获取 PlatformId 值。

Returns: int - PlatformId 值。

getPlatformSpecificId()

public int getPlatformSpecificId()

获取 PlatformSpecificId 值。

Returns: int - PlatformSpecificId 值。

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setPlatformId(int value)

public void setPlatformId(int value)

设置 PlatformId 值。

Parameters:

参数类型描述
intPlatformId 值。

setPlatformSpecificId(int value)

public void setPlatformSpecificId(int value)

设置 PlatformSpecificId 值。

Parameters:

参数类型描述
intPlatformSpecificId 值。

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