Check to see if the Circle contains all four points of the given Rectangle object.
name | type | description |
---|---|---|
circle | Phaser.Geom.Circle |
The Circle to check. |
rect | object | Phaser.Geom.Rectangle |
The Rectangle object to check if it's within the Circle or not. |
True if all of the Rectangle coordinates are within the circle, otherwise false.