phaser/v3/typings/geom/polygon/GetNumberArray.d.ts
2017-01-16 22:43:07 +01:00

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;