Skip to content

1681-engine / pixel / pixelTone / stageRun

Function: stageRun() ​

ts
function stageRun(
   held, 
   x, 
   y, 
   w, 
   color
): void;

Defined in: src/pixel/pixelTone.ts:209

Writes a solid run of w pixels at (x, y) into what batchFor returned.

Parameters ​

ParameterType
held| Map<number, number> | PixelLayer
xnumber
ynumber
wnumber
colornumber

Returns ​

void

Released under the MIT License.