mirror of
https://github.com/photonstorm/phaser
synced 2024-12-19 01:24:48 +00:00
8 lines
350 B
TypeScript
8 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;
|