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

stroke

Sets the color used to draw lines and borders around shapes.

Syntax

canvas.stroke(color);

Parameters

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

Returns

Canvas: self for method chaining

Related

Clone this wiki locally