Syntax
| draw.ID.ellipse(X, Y, Width, Height, Color, BorderWeight, Alpha) |
Parameters
| INT | X, Y | Left and top position of the source image. 0 if not specified.
| | INT | Width, Height | Size of the ellipse. If Width = Height, the ellipse is a circle.
| | COLOR | Color | Drawing color.
| | INT | BorderWeight | Optional. Size of the border in pixel. Default value is 1.
| | INT | Alpha | Optional. Alpha (0-100) where 0 is transparent and 100 is opaque. Default is 100. |
Return value
No value is returned.
Description
Draw an ellipse on the specified bitmap.
Notice
The process of drawing a transparent ellipse is slow, so do not use the alpha parameter if performance is important.
|
MioScript Sample Code
draw.main.ellipse(
0,0,
200,200,
num.rgb(0,100,255),
4,
)
draw.main.paint() |
|