CurveTo2
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| CurveTo2 | Initializes curve operator. |
| CurveTo2 | Constructor for operator class. |
Methods
| Method | Description |
|---|---|
| accept | Accepts visitor object to process operator. |
| getPoints | Points of the curve. |
CurveTo2
public CurveTo2(double x1, double y1, double x3, double y3)
Initializes curve operator.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x1 | Abscissa of second point. | |
| y1 | Ordinate of second point. | |
| x3 | Abscissa of third point. | |
| y3 | Ordinate 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