ink

MJS / AC Piece API / graphics / done
ink(color)

Set the current drawing color. Color can be a single number (0-255 for grayscale) or an array [r,g,b,a].

Parameters

Name Type Required Description
color number | string | array yes Next draw color for primitives and text.

Returns

paintApi

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview