com.aspose.pdf.operators

Class MoveTo



  • public class MoveTo
    extends Operator

    Class representing operators.m (move to and begin new subpath).

    • Constructor Detail

      • MoveTo

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

        public MoveTo(double x,
                      double y)

        Inintalizes new Operator.m (move to) operator.

        Parameters:
        x - The x-coordinate.
        y - The y-coordinate.
    • Method Detail

      • getX

        public double getX()

        X coordinate

        Returns:
        double value
      • setX

        public void setX(double value)

        X coordinate

        Parameters:
        value - double value
      • getY

        public double getY()

        Y coordinate

        Returns:
        double value
      • setY

        public void setY(double value)

        Y coordinate

        Parameters:
        value - double value
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts visitor object to process operator.

        Specified by:
        accept in class Operator
        Parameters:
        visitor - Visitor object.
      • toString

        public String toString()

        Returns text representation of the operator.

        Overrides:
        toString in class Operator
        Returns:
        Text representation of the operator.