public class MoveTextPositionSetLeading extends TextPlaceOperator
Class representing TD operator (move position and set leading).
Constructor and Description |
---|
MoveTextPositionSetLeading(double x,
double y)
Initializes operator.
|
MoveTextPositionSetLeading(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
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.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString, toString
public MoveTextPositionSetLeading(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index
- Index of operator.command
- Operator command.public MoveTextPositionSetLeading(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.