com.aspose.pdf.operators

Class CurveTo1



  • public class CurveTo1
    extends Operator

    Class representing v operator (append curve to path, initial point replicated).

    • Constructor Detail

      • CurveTo1

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

        Constructor for operator class.

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

        public CurveTo1(double x2,
                        double y2,
                        double x3,
                        double y3)

        Initializes curve operator.

        Parameters:
        x2 - Abscissa of second point.
        y2 - Ordinate of second point.
        x3 - Abscissa of third point.
        y3 - Ordinate of third point.
    • Method Detail

      • getPoints

        public Point[] getPoints()

        Points of the curve.

        Returns:
        array of Point instances
      • accept

        public void accept(IOperatorSelector visitor)

        Accepts operator selector.

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