Guide 1 Docs 2 Reference 3

Method of Picture

picture:fill

Fills a w by h box of pixels with one colour, its top-left at (x, y).

picture:fill(x: number, y: number, w: number, h: number, color: Ink)

Parameters

xnumberrequired
ynumberrequired
wnumberrequired
hnumberrequired
colorInkrequired