arcade-physics
Version:
Use Arcade Physics without Phaser.
14 lines • 629 B
TypeScript
export default ContainsRect;
/**
* Check to see if the Ellipse contains all four points of the given Rectangle object.
*
* @function Phaser.Geom.Ellipse.ContainsRect
* @since 3.0.0
*
* @param {Phaser.Geom.Ellipse} ellipse - The Ellipse to check.
* @param {(Phaser.Geom.Rectangle|object)} rect - The Rectangle object to check if it's within the Ellipse or not.
*
* @return {boolean} True if all of the Rectangle coordinates are within the ellipse, otherwise false.
*/
declare function ContainsRect(ellipse: Phaser.Geom.Ellipse, rect: (Phaser.Geom.Rectangle | object)): boolean;
//# sourceMappingURL=ContainsRect.d.ts.map