Provide options without default values
Optionalpath: JSCADEntityOptionalcolour: stringOptionalopacity: numberOptionalwidth: numberOptionalupdatable: booleanOptionalpathMesh: TThe 2D path to draw as a line; a closed path is drawn back to its first point
Hex color of the line; a path colored with colors.colorize keeps its own color instead
How opaque the line is, from 0 for invisible to 1 for solid
Thickness of the drawn line
When true, the drawn line can be refreshed in place on later draws by passing it back as
pathMesh
The options
draw.drawAnyAsyncpasses on when the entity is a JSCAD 2D path, drawn as a line through its points: color, opacity, line width and the line to reuse when redrawing.