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.
|
typepublic 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 PathElementpublic void points(double[] coords)
points in class PathElementcoords - coordinates (length = 6)Copyright © 2021. All rights reserved.