drawpoly.gs
Name
drawpoly - Draw polygon.
Synopsis
drawpoly [-by type] [-o] [-f] [-rgb r g b] [-rgba r g b a] [-color color] x1 y1 x2 y2 ...
Description
To show help, simply run "color".
Options
- -by type
- Coordinate type. "world", "grid", or "xy". Defalut value is "xy".
- -o
- Open polygon.
- -f
- Filled polygon.
- -rgb
- RGB values in [0-255].
- -rgba
- RGB and transparency values in [0-255].
- -color
- Color number in [0-255].
- x1, y1, ...
- Position of the vertex of the polygon.
Examples
Script source code
- drawpoly.gs (necessary)