ComplementShape

ComplementShape

Union of two shapes

Constructor

new ComplementShape(shape)

Source:

Constructor.

Parameters:
Name Type Description
shape Shape

Classes

ComplementShape

Methods

onAdd(scene)

Source:

Additional actions to perform when the object is added to the scene. Propagate the call.

Parameters:
Name Type Description
scene Scene

the scene to which the object is added.

setId(scene)

Source:

Set the ID of the shape. Propagate the call.

Parameters:
Name Type Description
scene Scene

the scene to which the object is added.