MoveTextPosition
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator, com.aspose.pdf.operators.TextPlaceOperator
public class MoveTextPosition extends TextPlaceOperator
Class representing Td operator (move text position).
Constructors
Constructor | Description |
---|---|
MoveTextPosition(int index, ICommand command) | Initializes operator. |
MoveTextPosition(double x, double y) | Initializes operator. |
Methods
Method | Description |
---|---|
getX() | X coordinate of text position. |
setX(double value) | X coordinate of text position. |
getY() | Y coordinate of text position. |
setY(double value) | Y coordinate of text position. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toString() | Returns text representation of operator. |
MoveTextPosition(int index, ICommand command)
public MoveTextPosition(int index, ICommand command)
Initializes operator.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
MoveTextPosition(double x, double y)
public MoveTextPosition(double x, double y)
Initializes operator.
Parameters:
Parameter | Type | Description |
---|---|---|
x | double | X coordinate of text position. |
y | double | Y coordinate of text position. |
getX()
public double getX()
X coordinate of text position.
Returns: double - double value
setX(double value)
public void setX(double value)
X coordinate of text position.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
getY()
public double getY()
Y coordinate of text position.
Returns: double - double value
setY(double value)
public void setY(double value)
Y coordinate of text position.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Returns text representation of operator.
Returns: java.lang.String - Text representation of operator.