translateObjects: translateObjects

translateObjectsR Documentation

translateObjects

Description

Functions to manipulate co-ordinate parameters.

Usage

translateComponent(
  input,
  translateX = 0,
  translateY = 0,
  xcoordinates = coordinateNamesX(),
  ycoordinates = coordinateNamesY()
)

translateLayer(
  input,
  translateX = 0,
  translateY = 0,
  xcoordinates = coordinateNamesX(),
  ycoordinates = coordinateNamesY()
)

Arguments

input

a component or layer to translate

translateX, translateY

numeric. An amount to translate

xcoordinates

a list of names of parameters considered to be x co-ordinates

ycoordinates

a list of names of parameters considered to be y co-ordinates

Value

returns a modified version of the input

Examples

print(1+1)

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