Skip to content

1681-engine / pixel / pixelPaint / outlined

Function: outlined() ​

ts
function outlined(
   g, 
   outline, 
   draw
): void;

Defined in: src/pixel/pixelPaint.ts:86

Paints draw with a dark 1px outline round everything it drew, like the outline on character and prop sprites.

Parameters ​

ParameterType
gGraphics
outlinenumber
draw() => void

Returns ​

void

Released under the MIT License.