Skip to main content

Point2DLike

A 2D point used by all sketching functions. Any of the following formats are accepted:

FormatExampleDescription
[number, number][10, 20]Tuple of x, y coordinates
number[][10, 20]Array of x, y coordinates
{ x, y }{ x: 10, y: 20 }Object with x, y properties
Vertexline(...).end()A vertex returned by a geometry method