mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
11 lines
440 B
TypeScript
11 lines
440 B
TypeScript
|
/**
|
||
|
* Calculates the Axis Aligned Bounding Box (or aabb) from an array of points.
|
||
|
*
|
||
|
* @method Phaser.Rectangle#aabb
|
||
|
* @param {Phaser.Point[]} points - The array of one or more points.
|
||
|
* @param {Phaser.Rectangle} [out] - Optional Rectangle to store the value in, if not supplied a new Rectangle object will be created.
|
||
|
* @return {Phaser.Rectangle} The new Rectangle object.
|
||
|
* @static
|
||
|
*/
|
||
|
export default function (points: any, out: any): any;
|