GlyphId

Inheritance: java.lang.Object

public abstract class GlyphId

Represents glyph ids, available in the Font. Glyph id is a unique number for a glyph, which is font type dependent. For example: Type1’s id is a glyph name, instance of ( GlyphStringId ) class. TTF’s id is an int index, instance of ( GlyphUInt32Id ) class.

Methods

MethodDescription
equals(Object obj)Returns true if two glyph ids are not equal.
getClass()
hashCode()Returns hashcode of object.
notify()
notifyAll()
op_Equality(GlyphId obj1, Object obj2)Returns true if two glyph ids are equal.
op_Inequality(GlyphId obj1, Object obj2)Returns true if two glyph ids are not equal.
toGlyphStringId()Virtual cast to GlyphStringId.
toGlyphUInt32Id()Virtual cast to GlyphUInt32Id.
toString()Returns string representation the glyph id.
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object obj)

public boolean equals(Object obj)

Returns true if two glyph ids are not equal.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectGlyph identifier to compare with.

Returns: boolean - Comparison result.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public abstract int hashCode()

Returns hashcode of object.

Returns: int - Hashcode of object.

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)

Returns true if two glyph ids are equal.

Parameters:

ParameterTypeDescription
obj1GlyphIdFirst glyph identifier to compare.
obj2java.lang.ObjectSecond glyph identifier to compare.

Returns: boolean - Comparison result.

op_Inequality(GlyphId obj1, Object obj2)

public static boolean op_Inequality(GlyphId obj1, Object obj2)

Returns true if two glyph ids are not equal.

Parameters:

ParameterTypeDescription
obj1GlyphIdFirst glyph identifier to compare.
obj2java.lang.ObjectSecond glyph identifier to compare.

Returns: boolean - Comparison result.

toGlyphStringId()

public GlyphStringId toGlyphStringId()

Virtual cast to GlyphStringId. GlyphStringId overrides to return instance.

Returns: GlyphStringId - null

toGlyphUInt32Id()

public GlyphUInt32Id toGlyphUInt32Id()

Virtual cast to GlyphUInt32Id. GlyphUInt32Id overrides to return instance.

Returns: GlyphUInt32Id - null

toString()

public abstract String toString()

Returns string representation the glyph id.

Returns: java.lang.String - glyph identifier

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