Draw polygon.
Usage
element_polygon(
fill = NULL,
colour = NULL,
linewidth = NULL,
linetype = NULL,
alpha = NULL,
lineend = NULL,
linejoin = NULL,
linemitre = NULL,
color = NULL,
inherit.blank = FALSE
)
Arguments
- fill
Fill colour.
- colour, color
Line/border colour. Color is an alias for colour.
- linewidth
Line/border size in mm.
- linetype
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.
- alpha
A transparency value between 0 (transparent) and 1 (opaque), parallel to
fill
.- lineend
Line end Line end style (round, butt, square)
- linejoin
Line join style (round, mitre, bevel).
- linemitre
Line mitre limit (number greater than 1).
- inherit.blank
Should this element inherit the existence of an
element_blank
among its parents? IfTRUE
the existence of a blank element among its parents will cause this element to be blank as well. IfFALSE
any blank parent element will be ignored when calculating final element state.