CurveTo1

Inheritance: java.lang.Object, com.aspose.pdf.Operator

public class CurveTo1 extends Operator

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

Constructors

ConstructorDescription
CurveTo1(int index, ICommand command)Constructor for operator class.
CurveTo1(double x2, double y2, double x3, double y3)Initializes curve operator.

Methods

MethodDescription
getPoints()Points of the curve.
accept(IOperatorSelector visitor)Accepts operator selector.

CurveTo1(int index, ICommand command)

public CurveTo1(int index, ICommand command)

Constructor for operator class.

Parameters:

ParameterTypeDescription
indexintIndex of operator.
commandICommandOperator command.

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

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

Initializes curve operator.

Parameters:

ParameterTypeDescription
x2doubleAbscissa of second point.
y2doubleOrdinate of second point.
x3doubleAbscissa of third point.
y3doubleOrdinate of third point.

getPoints()

public Point[] getPoints()

Points of the curve.

Returns: com.aspose.pdf.Point[] - array of Point instances

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts operator selector.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object