Provide options without default values
Optionalpoints: Point3[]OptionalisClosed: booleanThe corner points in order, given in 3D; JSCAD methods use only X and Y
OptionalisWhether the last point joins back to the first; the JSCAD methods decide closure on their own and ignore this flag
OptionalcolorA color carried along with the polyline for drawing, as a hex string or an RGB list; the JSCAD methods ignore it
A polyline as a plain list of points, the form
polygon.createFromPolyline,path.createFromPolylineandpath.appendPolylineread; only X and Y of each point are used by them.