Canvas fill - mohayonao/gretro GitHub Wiki

fill

Sets the color used fill shapes.

Syntax

canvas.fill(color);

Parameters

  • color: int or array or function
    • color (-1 is meaning as noFill())

Returns

Canvas: self for method chaining

Related