public class MoveTextPosition extends TextPlaceOperator
Class representing Td operator (move text position).
Constructor and Description |
---|
MoveTextPosition(double x,
double y)
Initializes operator.
|
MoveTextPosition(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Initializes operator.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
double |
getX()
X coordinate of text position.
|
double |
getY()
Y coordinate of text position.
|
void |
setX(double value)
X coordinate of text position.
|
void |
setY(double value)
Y coordinate of text position.
|
String |
toString()
Returns text representation of operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public MoveTextPosition(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Initializes operator.
index
- Index of operator.command
- Operator command.public MoveTextPosition(double x, double y)
Initializes operator.
x
- X coordinate of text position.y
- Y coordinate of text position.public double getX()
X coordinate of text position.
public void setX(double value)
X coordinate of text position.
value
- double valuepublic double getY()
Y coordinate of text position.
public void setY(double value)
Y coordinate of text position.
value
- double valuepublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
accept
in class TextOperator
visitor
- Visitor object.