public interface ITextString extends IText
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object textString)
Returns true if the given object equals this one.
|
java.awt.Dimension |
getOffset()
Gets the relative offsets (horizontal and vertical) of the text string
|
Position |
getPosition()
Returns the position of the text string in the canvas
|
java.lang.String |
getValue()
This function returns the value of the string.
|
void |
setOffset(java.awt.Dimension offset)
Sets the offset values of the text string.
|
void |
setPosition(Position pos)
Sets the position of the string in the canvas.
|
void |
setValue(java.lang.String value)
This function sets the value of the string.
|
java.lang.String getValue()
void setValue(java.lang.String value)
value
- The string value to set.Position getPosition()
void setPosition(Position pos)
pos
- The position object.
Note that the x and y values in the position object should be between 0 and 1.
Position
java.awt.Dimension getOffset()
void setOffset(java.awt.Dimension offset)
offset
- The Dimension object containing the horizontal and vertical offsets.boolean equals(java.lang.Object textString)
equals
in class java.lang.Object
textString
- an object of type ITextString