mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
9 lines
350 B
TypeScript
9 lines
350 B
TypeScript
|
/**
|
||
|
* Export the points as an array of flat numbers, following the sequence [ x,y, x,y, x,y ]
|
||
|
*
|
||
|
* @method Phaser.Polygon#toNumberArray
|
||
|
* @param {array} [output] - The array to append the points to. If not specified a new array will be created.
|
||
|
* @return {array} The flattened array.
|
||
|
*/
|
||
|
export default function (polygon: any, output: any): any;
|