ImageDrawOval()
Draws an oval.
Requires Extension: Image Extension for Jakarta EE (Lucee 7+)
ImageDrawOval( image=any, x=number, y=number, width=number, height=number, filled=boolean );
Returns: void
| Argument | Description |
|---|---|
|
image
any,
required
|
edit
The image on which this operation is performed. Alias: name |
|
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
editimg=imageNew("",200,200,"RGB","e55039");
imageDrawOval(img,60,50,50,100,"no");
cfimage(action="writeToBrowser",source=img);
See also
- Image manipulation
- image.drawOval()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)