toString

Formats the point value to a string.

Parameters

digits Number

(Optional) Number of fractional digits.

separator String (default: " ")

The separator to place between coordinates.

Returns

String A string representation of the point, e.g. "10 20".

In this article
Not finding the help you need?