getShapeDef: Get the 'shapeDef' object for a shape

.getShapeDefR Documentation

Get the shapeDef object for a shape

Description

Each shape has a shapeDef object associated with it, which is a list specifying many aspects of the shape and its default; this function takes a sonlayer object or a character string and gets the appropriate shapeDef.

Usage

  .getShapeDef(x)

  .getShapeNames()

Arguments

x

A sonlayer object or character string

Value

.getShapeDef returns a shapeDef object; .getShapeNames returns a character vector containing the names of all currently available shapes


statisfactions/playitbyr documentation built on Jan. 27, 2024, 1:33 p.m.