com.aspose.pdf.operators

Class MoveTextPositionSetLeading



  • public class MoveTextPositionSetLeading
    extends TextPlaceOperator

    Class representing TD operator (move position and set leading).

    • Constructor Detail

      • MoveTextPositionSetLeading

        public MoveTextPositionSetLeading(int index,
                                          com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)

        Constructor for operator class.

        Parameters:
        index - Index of operator.
        command - Operator command.
      • MoveTextPositionSetLeading

        public MoveTextPositionSetLeading(double x,
                                          double y)

        Initializes operator.

        Parameters:
        x - X coordinate of text position.
        y - Y coordinate of text position.
    • Method Detail

      • getX

        public double getX()

        X coordinate of text position.

        Returns:
        double value
      • setX

        public void setX(double value)

        X coordinate of text position.

        Parameters:
        value - double value
      • getY

        public double getY()

        Y coordinate of text position.

        Returns:
        double value
      • setY

        public void setY(double value)

        Y coordinate of text position.

        Parameters:
        value - double value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Overrides:
        accept in class TextOperator
        Parameters:
        visitor - Visitor object.