Polygon - r3n/rebol-wiki GitHub Wiki
The polygon command lets you draw a closed area of line segments. It is similar to the line command, but the first and last points are connected.
| Arg | Type | Description | Values |
|---|---|---|---|
| point1 | [pair!] | ||
| point2 | [pair!] | ||
| point3 | [pair!] | ||
| ... | [pair!] |
Notes and Examples
polygon 100x100 100x200 200X100 200X200
pen yellow fill-pen orange line-width 5 line-join round polygon 100x100 100x200 200X100 200X200