Edit this page

toArray

Returns the point coordinates as an [x, y] array.

Parameters

digits Number

(Optional) Number of fractional digits.

Returns

Array An array representation of the point, e.g. [10, 20]

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy