Skip to contents

Most often used for backgrounds and borders.

Usage

element_rect(
  fill = NULL,
  colour = NULL,
  size = NULL,
  linetype = NULL,
  color = NULL
)

Arguments

fill

fill colour

colour

border colour

size

border size

linetype

border linetype

color

an alias for colour