CurveTo1
Contents
[
Hide
]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
Constructor | Description |
---|---|
CurveTo1(int index, ICommand command) | Constructor for operator class. |
CurveTo1(double x2, double y2, double x3, double y3) | Initializes curve operator. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
CurveTo1(double x2, double y2, double x3, double y3)
public CurveTo1(double x2, double y2, double x3, double y3)
Initializes curve operator.
Parameters:
Parameter | Type | Description |
---|---|---|
x2 | double | Abscissa of second point. |
y2 | double | Ordinate of second point. |
x3 | double | Abscissa of third point. |
y3 | double | Ordinate 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:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object |