CurveTo2

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

public class CurveTo2 extends Operator

Class representing y operator (append curve to path, final point replicated).

Constructors

ConstructorDescription
CurveTo2Initializes curve operator.
CurveTo2Constructor for operator class.

Methods

MethodDescription
acceptAccepts visitor object to process operator.
getPointsPoints of the curve.

CurveTo2

public CurveTo2(double x1, double y1, double x3, double y3)

Initializes curve operator.

Parameters:

ParameterTypeDescription
x1Abscissa of second point.
y1Ordinate of second point.
x3Abscissa of third point.
y3Ordinate of third point.

CurveTo2

Constructor for operator class.

accept

Accepts visitor object to process operator.

getPoints

public Point [] getPoints()

Points of the curve.

Returns: array of Point instances