java.lang.Object | ||
↳ | java.awt.geom.QuadCurve2D | |
↳ | java.awt.geom.QuadCurve2D.Float |
A quadratic parametric curve segment specified with
float
coordinates.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ctrlx | The X coordinate of the control point of the quadratic curve segment. | ||||||||||
ctrly | The Y coordinate of the control point of the quadratic curve segment. | ||||||||||
x1 | The X coordinate of the start point of the quadratic curve segment. | ||||||||||
x2 | The X coordinate of the end point of the quadratic curve segment. | ||||||||||
y1 | The Y coordinate of the start point of the quadratic curve segment. | ||||||||||
y2 | The Y coordinate of the end point of the quadratic curve segment. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs and initializes a
QuadCurve2D with
coordinates (0, 0, 0, 0, 0, 0). | |||||||||||
Constructs and initializes a
QuadCurve2D from the
specified float coordinates. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the control point.
| |||||||||||
Returns the X coordinate of the control point in
double precision. | |||||||||||
Returns the Y coordinate of the control point in
double precision. | |||||||||||
Returns the start point.
| |||||||||||
Returns the end point.
| |||||||||||
Returns the X coordinate of the start point in
double in precision. | |||||||||||
Returns the X coordinate of the end point in
double precision. | |||||||||||
Returns the Y coordinate of the start point in
double precision. | |||||||||||
Returns the Y coordinate of the end point in
double precision. | |||||||||||
Sets the location of the end points and control point of this curve
to the specified
double coordinates. | |||||||||||
Sets the location of the end points and control point of this curve
to the specified
float coordinates. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.awt.geom.QuadCurve2D
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.awt.Shape
|
The X coordinate of the control point of the quadratic curve segment.
The Y coordinate of the control point of the quadratic curve segment.
The X coordinate of the start point of the quadratic curve segment.
The X coordinate of the end point of the quadratic curve segment.
The Y coordinate of the start point of the quadratic curve segment.
The Y coordinate of the end point of the quadratic curve segment.
Constructs and initializes a QuadCurve2D
with
coordinates (0, 0, 0, 0, 0, 0).
Constructs and initializes a QuadCurve2D
from the
specified float
coordinates.
x1 | the X coordinate of the start point |
---|---|
y1 | the Y coordinate of the start point |
ctrlx | the X coordinate of the control point |
ctrly | the Y coordinate of the control point |
x2 | the X coordinate of the end point |
y2 | the Y coordinate of the end point |
Returns the control point.
Point2D
that is the control point of this
Point2D
.Returns the X coordinate of the control point in
double
precision.
Returns the Y coordinate of the control point in
double
precision.
Returns the start point.
Point2D
that is the start point of this
QuadCurve2D
.Returns the end point.
Point
object that is the end point
of this Point2D
.Returns the X coordinate of the start point in
double
in precision.
Returns the X coordinate of the end point in
double
precision.
Returns the Y coordinate of the start point in
double
precision.
Returns the Y coordinate of the end point in
double
precision.
Sets the location of the end points and control point of this curve
to the specified double
coordinates.
x1 | the X coordinate of the start point |
---|---|
y1 | the Y coordinate of the start point |
ctrlx | the X coordinate of the control point |
ctrly | the Y coordinate of the control point |
x2 | the X coordinate of the end point |
y2 | the Y coordinate of the end point |
Sets the location of the end points and control point of this curve
to the specified float
coordinates.
x1 | the X coordinate of the start point |
---|---|
y1 | the Y coordinate of the start point |
ctrlx | the X coordinate of the control point |
ctrly | the Y coordinate of the control point |
x2 | the X coordinate of the end point |
y2 | the Y coordinate of the end point |