GlyphUInt32Id
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.font.GlyphId
public class GlyphUInt32Id extends GlyphId
Represents integer glyph id.
Constructors
Constructor | Description |
---|---|
GlyphUInt32Id(long value) | Initializes new GlyphUInt32Id object. |
Methods
Method | Description |
---|---|
getNotDefId() | Gets not defined glyph id. |
getValue() | Gets int value of the ID. |
setValue(long value) | Sets int value of the ID. |
toString() | Gets string representation of the integer value. |
equals(Object obj) | Returns true if Ids are equal. |
op_Equality(GlyphUInt32Id obj1, Object obj2) | Equality operator implementation. |
op_Inequality(GlyphUInt32Id obj1, Object obj2) | Inequality operator implementation. |
hashCode() | GetHashCode implementation. |
toGlyphUInt32Id() | Cast GlyphId to GlyphUInt32Id |
GlyphUInt32Id(long value)
public GlyphUInt32Id(long value)
Initializes new GlyphUInt32Id object.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long | Glyph identifier. |
getNotDefId()
public static GlyphUInt32Id getNotDefId()
Gets not defined glyph id.
Returns: GlyphUInt32Id - Not defined glyph id.
getValue()
public long getValue()
Gets int value of the ID.
Returns: long - Int value of the ID.
setValue(long value)
public void setValue(long value)
Sets int value of the ID.
Parameters:
Parameter | Type | Description |
---|---|---|
value | long | Int value of the ID. |
toString()
public String toString()
Gets string representation of the integer value.
Returns: java.lang.String - glyph identifier
equals(Object obj)
public boolean equals(Object obj)
Returns true if Ids are equal.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | glyph identifier to compare with |
Returns: boolean - comparison result
op_Equality(GlyphUInt32Id obj1, Object obj2)
public static boolean op_Equality(GlyphUInt32Id obj1, Object obj2)
Equality operator implementation.
Parameters:
Parameter | Type | Description |
---|---|---|
obj1 | GlyphUInt32Id | first glyph identifier to compare |
obj2 | java.lang.Object | second glyph identifier to compare |
Returns: boolean - comparison result
op_Inequality(GlyphUInt32Id obj1, Object obj2)
public static boolean op_Inequality(GlyphUInt32Id obj1, Object obj2)
Inequality operator implementation.
Parameters:
Parameter | Type | Description |
---|---|---|
obj1 | GlyphUInt32Id | first glyph identifier to compare |
obj2 | java.lang.Object | second glyph identifier to compare |
Returns: boolean - comparison result
hashCode()
public int hashCode()
GetHashCode implementation.
Returns: int - hash code of object
toGlyphUInt32Id()
public GlyphUInt32Id toGlyphUInt32Id()
Cast GlyphId to GlyphUInt32Id
Returns: GlyphUInt32Id - this