Add a multi-sided polygon to a plot.
addPolygon( x = 0, y = 0, sides = 72, radius = 1, rotation = 0, border = NULL, col = NA, ... )
x | x location of center |
---|---|
y | y location of center |
sides | number of sides |
radius | radius |
rotation | amount to rotate the polygon in radians |
border | border color (see |
col | fill color (see |
... | additional arguments to be passed to |