containsRect(b) → {boolean}
Determines whether the first Rectangle object is fully contained within the second Rectangle object.
A Rectangle object is said to contain another if the second Rectangle object falls entirely within the boundaries of the first.
Parameters
Name | Type | Description |
---|---|---|
b | Phaser.Rectangle | The second Rectangle object. |
Returns
boolean -
A value of true if the Rectangle object contains the specified point; otherwise false.
- Source code: geom/Rectangle.js (Line 284)
Please login to continue.