functionList: functionList

View source: R/D005_functionList.R

functionListR Documentation

functionList

Description

An S4 class for storing functions for components, layers, sections and so on.

Usage

## S4 method for signature 'functionList'
initialize(
  .Object,
  ...,
  functionList = as.character(),
  frames = integerSet(),
  abcd = "a",
  repeats = 1,
  useData = TRUE,
  type = ""
)

functionList(fun = c(), ...)

## S4 method for signature 'component,functionList'
e1 + e2

## S4 method for signature 'component,functionList'
e1 - e2

## S4 method for signature 'layer,functionList'
e1 + e2

## S4 method for signature 'layer,functionList'
e1 - e2

## S4 method for signature 'section,functionList'
e1 + e2

## S4 method for signature 'section,functionList'
e1 - e2

Arguments

...

extra items to be added to the functionList slot

functionList

a list passed to the functionList slot

Details

functionList is the recommended way to add functions to art objects inside a make function. Functions like action.data are another way to do this.

Slots

functionList

a list of functions. These can be names or actual functions.

Examples

print(1+1)

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