Generic function
Draws a regular polygon that touches the specified points, and has the specified number of sides.
draw-regular-polygon drawable x1 y1 x2 y2 nsides #key handedness closed? filled? => ()
draw-regular-polygon* drawable point1 point2 nsides #key handedness closed? filled? => ()
type-union(<sheet>, <medium>).
<integer>.
#"left".
<boolean>. Default value: #t.
<boolean>. Default value: #t.
The following arguments are specific to draw-regular-polygon.
<real>.
<real>.
<real>.
<real>.
The following arguments are specific to draw-regular-polygon*.
<transform>.
<transform>.
duim-graphics
duim-graphics
Draws a regular polygon on drawable, using the current pen, that touches the specified points, and has the specified number of sides. Dashed lines start dashing at the starting point of the first segment.

If filled? is #t then the polygon will be filled, using the current brush.
The function draw-regular-polygon* is identical to draw-regular-polygon, except that it passes composite objects, rather than separate coordinates, in its arguments. You should be aware that using this function may lead to a loss of performance.