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
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| obj | java.lang.Object | Glyph 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:
| Parameter | Type | Description |
|---|---|---|
| obj1 | GlyphId | First glyph identifier to compare. |
| obj2 | java.lang.Object | Second 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:
| Parameter | Type | Description |
|---|---|---|
| obj1 | GlyphId | First glyph identifier to compare. |
| obj2 | java.lang.Object | Second 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:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |