Double
public Double
(double x, double y, double w, double h, double start, double extent, int type)
Constructs a new arc, initialized to the specified location, size, angular extents, and closure type.
- Parameters:
-
x - The X coordinate of the upper-left corner of the arc's framing rectangle.
-
y - The Y coordinate of the upper-left corner of the arc's framing rectangle.
-
w - The overall width of the full ellipse of which this arc is a partial section.
-
h - The overall height of the full ellipse of which this arc is a partial section.
-
start - The starting angle of the arc in degrees.
-
extent - The angular extent of the arc in degrees.
-
type - The closure type for the arc: Arc2D.OPEN , Arc2D.CHORD , or Arc2D.PIE .
- Since:
- 1.2
|
|