Syntax
| window.ID.shape.rect(left,top, width,height, hRound,vRound) |
Parameters
| INT | left,top | Position of the rectangle in the window.
| | INT | width,height | Size of the rectangle.
| | INT | hRound,vRound | Optional. Horizontal and vertical round levels of the corners, in pixel. |
Return value
No value is returned.
Description
| Attributes a rectangle shape to the specified window with optional round corners. |
MioScript Sample Code
event.load
draw.main.rect(0,0,300,300,num.rgb(100,200,255))
window.main.pos.now(100,100,300,300)
window.main.shape.rect(0,0,300,300, 30,30)
event.end |
|