aabb(points, out) → {Phaser.Rectangle}
Calculates the Axis Aligned Bounding Box (or aabb) from an array of points.
Parameters
Name Type Argument Description points Array.<Phaser.Point> The array of one or more points. out Phaser.Rectangle <optional> Optional Rectangle to store the value in, if not supplied a new Rectangle object will be created.
Returns
Phaser.Rectangle - The new Rectangle object.
Source code: geom/Rectangle.js (Line 1016)