public class LineTo extends PathElement
Modifier and Type | Field and Description |
---|---|
double[] |
coords
The point to make a line to.
|
type
Constructor and Description |
---|
LineTo(double[] coords)
Make a line path element.
|
LineTo(double x,
double y)
Make a line path element.
|
LineTo(javax.vecmath.Point2d point)
Make a line to this point.
|
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 LineTo(javax.vecmath.Point2d point)
point
- the endpoint of the linepublic LineTo(double[] coords)
coords
- the x,y coordinates in index 0,1public LineTo(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 © 2017. All Rights Reserved.