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