GlyphStringId

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

public class GlyphStringId extends GlyphId

Represents string glyph id.

Constructors

ConstructorDescription
GlyphStringId(String value)Initializes new GlyphStringID object.

Methods

MethodDescription
getValue()Gets string value.
setValue(String value)Sets string value.
getNotDefId()Gets not defined glyph id.
toString()Returns string value the glyph id.
equals(Object obj)Returns true if string IDs are equal.
hashCode()GetHashCode implementation.
toGlyphStringId()Cast GlyphId to GlyphStringId

GlyphStringId(String value)

public GlyphStringId(String value)

Initializes new GlyphStringID object.

Parameters:

ParameterTypeDescription
valuejava.lang.StringGlyph identifier.

getValue()

public String getValue()

Gets string value.

Returns: java.lang.String - String value.

setValue(String value)

public void setValue(String value)

Sets string value.

Parameters:

ParameterTypeDescription
valuejava.lang.StringString value.

getNotDefId()

public static GlyphStringId getNotDefId()

Gets not defined glyph id.

Returns: GlyphStringId - Not defined glyph id.

toString()

public String toString()

Returns string value the glyph id.

Returns: java.lang.String - Glyph identifier.

equals(Object obj)

public boolean equals(Object obj)

Returns true if string IDs are equal.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectGlyph string identifier to compare with.

Returns: boolean - Comparison result

hashCode()

public int hashCode()

GetHashCode implementation.

Returns: int - Hash code of object.

toGlyphStringId()

public GlyphStringId toGlyphStringId()

Cast GlyphId to GlyphStringId

Returns: GlyphStringId - this