com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Operator.CurveTo

  • Enclosing class:
    Operator


    public static class Operator.CurveTo
    extends Operator

    Class representing c operator (append curve to path).

    • Constructor Detail

      • CurveTo

        public CurveTo(double x1,
                       double y1,
                       double x2,
                       double y2,
                       double x3,
                       double y3)

        Initializes curve operator.

        Parameters:
        x1 - Abscissa of first point.
        y1 - Ordinate of first point.
        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:
        Points[] object
      • 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 operator.

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