MoveTextPositionSetLeading
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator, com.aspose.pdf.operators.TextOperator, com.aspose.pdf.operators.TextPlaceOperator
public class MoveTextPositionSetLeading extends TextPlaceOperator
Class representing TD operator (move position and set leading).
Constructors
| Constructor | Description |
|---|---|
| MoveTextPositionSetLeading(int index, ICommand command) | Constructor for operator class. |
| MoveTextPositionSetLeading(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. |
MoveTextPositionSetLeading(int index, ICommand command)
public MoveTextPositionSetLeading(int index, ICommand command)
Constructor for operator class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Index of operator. |
| command | ICommand | Operator command. |
MoveTextPositionSetLeading(double x, double y)
public MoveTextPositionSetLeading(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. |