public class QuadTo extends PathElement
| Modifier and Type | Field and Description |
|---|---|
double[] |
coords
Coordinates of control point and end point.
|
type| Constructor and Description |
|---|
QuadTo(double[] coords)
Make a quad curve path element.
|
QuadTo(double cpx,
double cpy,
double epx,
double epy)
Make a quad curve path element.
|
QuadTo(javax.vecmath.Point2d cp,
javax.vecmath.Point2d ep)
Make a quad curve.
|
| 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 QuadTo(javax.vecmath.Point2d cp,
javax.vecmath.Point2d ep)
cp - control point of the curveep - end point of the curvepublic QuadTo(double[] coords)
coords - [0,1] : control point 1, [2,3] : control point 2, [4,5] end
pointpublic QuadTo(double cpx,
double cpy,
double epx,
double epy)
cpx - control point in the cubic x coordcpy - control point in the cubic y coordepx - end point of the cubic x coordepy - end point of the cubic y coordpublic float[] points()
points in class PathElementpublic void points(double[] coords)
points in class PathElementcoords - coordinates (length = 6)Copyright © 2021. All rights reserved.