The search functionality needs JavaScript enabled
Sets the Shape2D that will be used for collision/intersection queries.
Shape2D
void setShape ( Resource shape ) nothrow @nogc;