GlyphStringId

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

public class GlyphStringId extends GlyphId

表示字符串字形 ID。

构造函数

构造函数描述
GlyphStringId(String value)初始化新的 GlyphStringID 对象。

方法

方法描述
equals(Object obj)如果字符串 ID 相等则返回 true。
getClass()
getNotDefId()获取未定义的字形 ID。
getValue()获取字符串值。
hashCode()GetHashCode 实现。
notify()
notifyAll()
op_Equality(GlyphId obj1, Object obj2)如果两个字形 ID 相等则返回 true。
op_Inequality(GlyphId obj1, Object obj2)如果两个字形 ID 不相等则返回 true。
setValue(String value)设置字符串值。
toGlyphStringId()将 GlyphId 转换为 GlyphStringId
toGlyphUInt32Id()虚拟转换为 GlyphUInt32Id。
toString()返回 glyph id 的字符串值。
wait()
wait(long arg0)
wait(long arg0, int arg1)

GlyphStringId(String value)

public GlyphStringId(String value)

初始化新的 GlyphStringID 对象。

Parameters:

参数类型描述
java.lang.String字形标识符。

equals(Object obj)

public boolean equals(Object obj)

如果字符串 ID 相等则返回 true。

Parameters:

参数类型描述
objjava.lang.Object用于比较的 Glyph 字符串标识符。

Returns: boolean - 比较结果

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getNotDefId()

public static GlyphStringId getNotDefId()

获取未定义的字形 ID。

Returns: GlyphStringId - Not defined glyph id.

getValue()

public String getValue()

获取字符串值。

Returns: java.lang.String - 字符串值。

hashCode()

public int hashCode()

GetHashCode 实现。

Returns: int - 对象的哈希码。

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

op_Equality(GlyphId obj1, Object obj2)

public static boolean op_Equality(GlyphId obj1, Object obj2)

如果两个字形 ID 相等则返回 true。

Parameters:

参数类型描述
obj1GlyphId用于比较的第一个 glyph 标识符。
obj2java.lang.Object用于比较的第二个 glyph 标识符。

Returns: boolean - 比较结果。

op_Inequality(GlyphId obj1, Object obj2)

public static boolean op_Inequality(GlyphId obj1, Object obj2)

如果两个字形 ID 不相等则返回 true。

Parameters:

参数类型描述
obj1GlyphId用于比较的第一个 glyph 标识符。
obj2java.lang.Object用于比较的第二个 glyph 标识符。

Returns: boolean - 比较结果。

setValue(String value)

public void setValue(String value)

设置字符串值。

Parameters:

参数类型描述
java.lang.String字符串值。

toGlyphStringId()

public GlyphStringId toGlyphStringId()

将 GlyphId 转换为 GlyphStringId

Returns: GlyphStringId - this

toGlyphUInt32Id()

public GlyphUInt32Id toGlyphUInt32Id()

虚拟转换为 GlyphUInt32Id。GlyphUInt32Id 重写以返回实例。

Returns: GlyphUInt32Id - null

toString()

public String toString()

返回 glyph id 的字符串值。

Returns: java.lang.String - Glyph 标识符。

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