image.drawOval()
Draws an oval.
image.drawOval( x=number, y=number, width=number, height=number, filled=boolean )
Returns: Image
| Argument | Description |
|---|---|
|
x
number,
required
|
edit
The x coordinate of the upper left corner of the oval to draw. |
|
y
number,
required
|
edit
The y coordinate of the upper left corner of the oval to draw. |
|
width
number,
required
|
edit
The width of the oval to draw. |
|
height
number,
required
|
edit
The height of the oval to draw. |
|
filled
boolean,
optional
|
edit
Specify whether the oval is filled:
|
Examples
edit img=imageNew("",200,200,"RGB","e55039");
img.DrawOval(60,20,50,60,"no");
cfimage(action="writeToBrowser",source=img);