addBorder: addBorder

View source: R/E001_addBorder.R

addBorderR Documentation

addBorder

Description

Adds a border to an artwork object.

Usage

addBorder(
  art,
  extra = 0.1,
  res = NULL,
  foreground = "black",
  mode = 0,
  useGrid = FALSE,
  ...
)

Arguments

art

an artwork object

extra

The size of the border

res

The resolution of the artwork

foreground

colour of line around the border

mode

the mode used in the artwork NEEDED?????

useGrid

logical needed??

...

parameters are passed to the background component

Details

creates two additional components, a background colour and a foreground border. Both are rect

Value

returns an artwork object. The sections of the original are inside new sections that also contain borders.

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.