View source: R/ggplot-helper.R
element_polygon | R Documentation |
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
)
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 |
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
|
A element_polygon
object
element_rect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.