public class CurveTo extends Operator
Class representing c operator (append curve to path).
| Constructor and Description |
|---|
CurveTo(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Initializes curve operator.
|
CurveTo(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
void |
fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
For internal usage only!
|
Point[] |
getPoints()
Points of the curve.
|
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand |
toCommand()
For internal usage only!
|
String |
toString()
Returns text representation of operator.
|
equals, getCommand, getCommandName, getIndex, getParameters, isTextShowOperator, reset, setIndex, toString, valueEqualspublic CurveTo(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
Constructor for operator class.
index - Index of operator.command - Operator command.public CurveTo(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Initializes curve operator.
x1 - Abscissa of first point.y1 - Ordinate of first point.x2 - Abscissa of second point.y2 - Ordinate of second point.x3 - Abscissa of third point.y3 - Ordinate of third point.public Point[] getPoints()
Points of the curve.
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
public String toString()
Returns text representation of operator.
public void fromCommand(com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
OperatorLoads operator from command
command - ICommand valuepublic com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand toCommand()
Operatorsaves operator to command
Copyright © 2024 Aspose. All Rights Reserved.