flood

MJS / AC Piece API / graphics / done
flood(x, y)

Flood-fill adjacent matching pixels at (x,y) using current ink color.

Parameters

Name Type Required Description
x, y number yes Seed position for the fill operation.

Returns

void

Runtime Notes

No additional runtime notes yet.

Details

No additional details yet.

Live Preview

Embedded AC preview