MoveTo
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.Operator
public class MoveTo extends Operator
Class representing operators.m (move to and begin new subpath).
Constructors
Constructor | Description |
---|---|
MoveTo(int index, ICommand command) | |
MoveTo(double x, double y) | Inintalizes new Operator.m (move to) operator. |
Methods
Method | Description |
---|---|
getX() | X coordinate |
setX(double value) | X coordinate |
getY() | Y coordinate |
setY(double value) | Y coordinate |
accept(IOperatorSelector visitor) | Accepts visitor object to process operator. |
toString() | Returns text representation of the operator. |
MoveTo(int index, ICommand command)
public MoveTo(int index, ICommand command)
Parameters:
Parameter | Type | Description |
---|---|---|
index | int | |
command | ICommand |
MoveTo(double x, double y)
public MoveTo(double x, double y)
Inintalizes new Operator.m (move to) operator.
Parameters:
Parameter | Type | Description |
---|---|---|
x | double | The x-coordinate. |
y | double | The y-coordinate. |
getX()
public double getX()
X coordinate
Returns: double - double value
setX(double value)
public void setX(double value)
X coordinate
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
getY()
public double getY()
Y coordinate
Returns: double - double value
setY(double value)
public void setY(double value)
Y coordinate
Parameters:
Parameter | Type | Description |
---|---|---|
value | double | double value |
accept(IOperatorSelector visitor)
public void accept(IOperatorSelector visitor)
Accepts visitor object to process operator.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | IOperatorSelector | Visitor object. |
toString()
public String toString()
Returns text representation of the operator.
Returns: java.lang.String - Text representation of the operator.