Create Polygon
The CREATE POLYGON command plots a polygon.
CREATE POLYGONxycornersradiusanglevalue
x,y
Define the center of the polygon.
corners
Defines how many corners (or sides) the polygon is going to have.
radius
Because a polygon behaves like an ellipse while being drawn, you also have to define a radius ( see
Create Ellipse).
angle
Because a polygon behaves like an ellipse while being drawn, you also have to define an angle as the ellipse angle (see
Create Ellipse).
value
Because a polygon behaves like an ellipse while being drawn, you also have to define a value as a ellipse value (see
Create Ellipse).
#drawing an octagon
CREATE POLYGON 381.838 212.288 8 65 300 35.264