![]() |
VOOZH | about |
The canvas stroke() method is used to draw the path you have defined with all those moveTo() and lineTo() methods. The default color of the canvas stroke() method is black.
Syntax:
context.stroke()
Example-1:
Output:
Example-2:
Output:
Supported Browsers: