public class MoveTo extends Operator
Class representing operators.m
(move to and begin new subpath).
Constructor and Description |
---|
MoveTo(double x,
double y)
Inintalizes new
Operator.m (move to) operator. |
MoveTo(int index,
com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
|
double |
getX()
X coordinate
|
double |
getY()
Y coordinate
|
void |
setX(double value)
X coordinate
|
void |
setY(double value)
Y coordinate
|
String |
toString()
Returns text representation of the operator.
|
clear, getCommand, getCommandName, getIndex, getParameters, getTrailerable, isTextShowOperator, reset, setIndex, toString
public MoveTo(int index, com.aspose.pdf.engine.commondata.pagecontent.operators.commands.ICommand command)
public MoveTo(double x, double y)
Inintalizes new Operator.m
(move to) operator.
x
- The x-coordinate.y
- The y-coordinate.public double getX()
X coordinate
public void setX(double value)
X coordinate
value
- double valuepublic double getY()
Y coordinate
public void setY(double value)
Y coordinate
value
- double valuepublic void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.