Generic function
Draws a polygon joining the specified points.
draw-polygon drawable coord-seq #key closed? filled? => ()
draw-polygon* drawable points #key closed? filled? => ()
type-union(<sheet>, <medium>).
<boolean>. Default value: #t.
<boolean>. Default value: #t.
The following argument is specific to draw-polygon.
limited(<sequence>, of: <coordinate>).
The following argument is specific to draw-polygon*.
limited(<sequence>, of: <point>).
duim-graphics
duim-graphics
Draws a polygon on drawable joining the specified points, using the current pen. Dashed lines start dashing at the starting point of the first segment.
If closed? is #t, then the polygon is closed, that is, a line is drawn from the last point in the sequence back to the first.
If filled? is #t then the polygon will be filled, using the current brush.
The function draw-polygon* is identical to draw-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.