Stores all of the points of a Polygon into a flat array of numbers following the sequence [ x,y, x,y, x,y ], i.e. each point of the Polygon, in the order it's defined, corresponds to two elements of the resultant array for the point's X and Y coordinate.
The Polygon whose points to export.
|output||array | Array.<number>||<optional>||
An array to which the points' coordinates should be appended.
output array, or a new array if none was given.