shape

MJS / AC Piece API / graphics / done
shape(points, mode)

Draw a higher-level shape from point arrays/objects with optional mode controls.

Parameters

Name Type Required Description
points array yes Point list or packed coordinate data.
mode string no fill/outline behavior.

Returns

void

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview