mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 02:53:27 +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;
|