public class MoveTo extends PathElement
Modifier and Type | Field and Description |
---|---|
double[] |
coords
The point to move to.
|
type
Constructor and Description |
---|
MoveTo(double[] coords)
Make a move to path element.
|
MoveTo(double x,
double y)
Make a move to path element.
|
MoveTo(javax.vecmath.Point2d point)
Make a move to path element.
|
Modifier and Type | Method and Description |
---|---|
float[] |
points()
Get the points in the path.
|
void |
points(double[] coords)
Load the provided array with the specified coordinates of this path
element.
|
type
public MoveTo(javax.vecmath.Point2d point)
point
- the point to move topublic MoveTo(double[] coords)
coords
- the x,y coordinates in index 0,1public MoveTo(double x, double y)
x
- x coordy
- y coordpublic float[] points()
points
in class PathElement
public void points(double[] coords)
points
in class PathElement
coords
- coordinates (length = 6)Copyright © 2021. All rights reserved.