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