Core API Reference: Shape Contacts

From Color Infection Wiki
Jump to: navigation, search


Get Contacted Shapes

Get all shapes contacting with the input shape.

Input Parameters:

The Shape
the input shape

Output Parameters:

Contacted Shapes
the shapes contacted with the input shape
Are Two Shapes Contacted

Check whether or not two specified shapes are contacted with each other.

Input Parameters:

Shape 1
one shape
Shape 2
the other shape

Output Parameters:

Contacted?
true for the two specified shapes are contacted now