#
| source:
src/drawable/Composite.js, line 16
Container of a sequence of drawable objects that can be drawn together.
Used by P5Drawer
to perform specific vertex
operations with drawables to draw complex shapes.
Constructor
new Composite(rac, sequenceopt)
#
| source:
src/drawable/Composite.js, line 16
Creates a new Composite
instance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
rac |
Rac
|
Instance to use for drawing and creating other objects |
|
sequence |
Array
|
<optional> |
An array of drawable objects to contain |