Syntax
| draw.ID.rect(X, Y ,W , H, Color, BorderSize, Alpha, RoundRectX, RoundRectY) |
Parameters
| INT | X, Y ,W , H | Position and size of the rectangle.
| | COLOR | Color | Drawing color.
| | INT | BorderSize | Optional. Width of the border
| | INT | Alpha | Optional. Level of transparency (0=transparent, 100=opaque)
| | INT | RoundRectX, RoundRectY | Optional. Round corners, in percent |
Return value
No value is returned.
Description
| Draw a rectangle on the specified bitmap. |
MioScript Sample Code
draw.main.rect(
50,50,200,200,
num.rgb(0,100,255),
50,
25,25
)
draw.main.paint() |
|