| Syntax |
|
| Documentation | Draws a closed polygon:
Parameters:
$drawPolygon{x1 y1 x2 y2 ... xn yn} Parameters:
|
| Examples | |
$setDrawColor{black} $fillRectangle{0}{0}{199}{199} $setDrawColor{white} $drawPolygon {100 100 50 150 150 150} Result: an image with a width of 200/200; within a black rectangle with the size 199/199; and a white resembles thigh triangle appears |
|
| Group | Graphic |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 1 |
| Maximum parameters | <unlimited> |