MoveTextPositionSetLeading

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

ConstructorDescription
MoveTextPositionSetLeading(int index, ICommand command)Constructor for operator class.
MoveTextPositionSetLeading(double x, double y)Initializes operator.

Methods

MethodDescription
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:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

MoveTextPositionSetLeading(double x, double y)

public MoveTextPositionSetLeading(double x, double y)

Initializes operator.

Parameters:

ParameterTypeDescription
xdoubleX coordinate of text position.
ydoubleY 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:

ParameterTypeDescription
valuedoubledouble 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:

ParameterTypeDescription
valuedoubledouble value

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.