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.textpositioningoperators.MoveToNextLine 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.
|
createFromCommandName, equals, getCommand, getCommandName, getIndex, isTextShowOperator, setIndex, valueEqualspublic MoveTextPosition(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.textpositioningoperators.MoveToNextLine 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 TextOperatorvisitor - Visitor object.Copyright © 2025 Aspose. All Rights Reserved.