CurveTo2
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class CurveTo2 extends Operator
Class representing y operator (append curve to path, final point replicated).
Constructors
Constructor | Description |
---|---|
CurveTo2(int index, ICommand command) | Constructor for operator class. |
CurveTo2(double x1, double y1, double x3, double y3) | Initializes curve operator. |
Methods
Method | Description |
---|---|
getPoints() | Points of the curve. |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
CurveTo2(int index, ICommand command)
public CurveTo2(int index, ICommand command)
Constructor for operator class.
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | Index of operator. |
command | ICommand | Operator command. |
CurveTo2(double x1, double y1, double x3, double y3)
public CurveTo2(double x1, double y1, double x3, double y3)
Initializes curve operator.
Parameters:
Parameter | Type | Description |
---|---|---|
x1 | double | Abscissa of second point. |
y1 | 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 visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |