Skip to content
mohayonao edited this page Aug 10, 2014 · 4 revisions

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

Clone this wiki locally