RasterGraphics.ellipse( x, y, x2, y2 [, filled] )
Draw a ellipse in the canvas using the current stroke and fill styles. The ellipse is drawn inside
the box formed from the given x, y, x2, y2 coordinates.
Parameters
Name |
Type |
|
Description |
x |
number |
|
upper-left corner X point |
y |
number |
|
upper-left corner Y point |
x2 |
number |
|
lower-right corner X point |
y2 |
number |
|
lower-right corner Y point |
filled |
boolean |
optional |
True fills the ellipse with the current fill color; false does not fill
the ellipse. |
Returns
Type |
Description |
object |
The graphics object. This allow for chaining multiple setter methods in
one single statement. |