GlyphStringId
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.font.GlyphId
public class GlyphStringId extends GlyphId
Represents string glyph id.
Constructors
Constructor | Description |
---|---|
GlyphStringId(String value) | Initializes new GlyphStringID object. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | Glyph 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:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | String 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:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | Glyph 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