The canvas stroke() Method is used to draw the path you have defined with all those moveTo() and lineTo() methods. The default color of canvas stroke() method is black.
- Google Chrome
- Internet Explorer 9.0
- How to add stroke width of text canvas using Fabric.js ?
- How to set stroke width of a canvas circle using Fabric.js ?
- p5.js | stroke() Function
- CSS | stroke-width Property
- CSS | stroke-linecap Property
- CSS | stroke-opacity Property
- CSS | stroke-dashoffset Property
- CSS | stroke-dasharray Property
- CSS | stroke-linejoin Property
- Node.js | GM stroke() Function
- CSS | stroke-miterlimit Property
- Fabric.js | Text stroke Property
- Fabric.js | Circle stroke Property
- Fabric.js | Rect stroke Property
- Fabric.js | Triangle stroke Property
- Fabric.js | Ellipse stroke Property
- SVG Stroke Properties
- Fabric.js Polyline stroke Property
- CSS stroke-color property
- HTML | canvas rect() Method
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.