Modifier and Type | Method and Description |
---|---|
QuadCurve |
clone()
Returns a mutable copy of this curve.
|
Point |
ctrlP()
Returns a copy of the control point of this curve.
|
double |
ctrlX()
Returns the x-coordinate of the control point.
|
double |
ctrlY()
Returns the y-coordinate of the control point.
|
double |
flatness()
Returns the flatness (maximum distance of a control point from the line connecting the end
points) of this curve.
|
double |
flatnessSq()
Returns the square of the flatness (maximum distance of a control point from the line
connecting the end points) of this curve.
|
Point |
p1()
Returns a copy of the starting point of this curve.
|
Point |
p2()
Returns a copy of the ending point of this curve.
|
void |
subdivide(QuadCurve left,
QuadCurve right)
Subdivides this curve and stores the results into
left and right . |
double |
x1()
Returns the x-coordinate of the start of this curve.
|
double |
x2()
Returns the x-coordinate of the end of this curve.
|
double |
y1()
Returns the y-coordinate of the start of this curve.
|
double |
y2()
Returns the y-coordinate of the end of this curve.
|
bounds, bounds, contains, contains, contains, contains, intersects, intersects, isEmpty, pathIterator, pathIterator
double x1()
double y1()
double ctrlX()
double ctrlY()
double x2()
double y2()
Point p1()
Point ctrlP()
Point p2()
double flatnessSq()
double flatness()
void subdivide(QuadCurve left, QuadCurve right)
left
and right
.QuadCurve clone()
Copyright © 2017. All rights reserved.