Rac. Composite

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)

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