Draw polygon.
element_polygon(
fill = NULL,
colour = NULL,
linewidth = NULL,
linetype = NULL,
alpha = NULL,
lineend = NULL,
linejoin = NULL,
linemitre = NULL,
color = NULL,
inherit.blank = FALSE
)A element_polygon object
Fill colour.
Line/border colour. Color is an alias for colour.
Line/border size in mm.
Line type. An integer (0:8), a name (blank, solid, dashed, dotted, dotdash, longdash, twodash), or a string with an even number (up to eight) of hexadecimal digits which give the lengths in consecutive positions in the string.
A transparency value between 0 (transparent) and 1 (opaque),
parallel to fill.
Line end Line end style (round, butt, square)
Line join style (round, mitre, bevel).
Line mitre limit (number greater than 1).
Should this element inherit the existence of an
element_blank among its parents? If TRUE the existence of
a blank element among its parents will cause this element to be blank as
well. If FALSE any blank parent element will be ignored when
calculating final element state.
element_rect