GlyphUInt32Id

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

public class GlyphUInt32Id extends GlyphId

Represents integer glyph id.

Constructors

ConstructorDescription
GlyphUInt32Id(long value)Initializes new GlyphUInt32Id object.

Methods

MethodDescription
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:

ParameterTypeDescription
valuelongGlyph 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:

ParameterTypeDescription
valuelongInt 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:

ParameterTypeDescription
objjava.lang.Objectglyph 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:

ParameterTypeDescription
obj1GlyphUInt32Idfirst glyph identifier to compare
obj2java.lang.Objectsecond 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:

ParameterTypeDescription
obj1GlyphUInt32Idfirst glyph identifier to compare
obj2java.lang.Objectsecond 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