How to use stroke | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

How to use stroke

24th Nov 2016, 3:45 AM
Gobinda Singh
Gobinda Singh - avatar
3 Respuestas
+ 2
The stroke() method actually draws the path you have defined with all those moveTo() and lineTo() methods. The default color is black.
24th Nov 2016, 5:27 AM
Anil Krishna Raj
Anil Krishna Raj - avatar
+ 2
yes anil Krishna raj told correctly but it is not in svg it is in canvas you can use Stoke() methods with arguments as coordinates of end point width and color you can call it using scripts in svg you can use Stoke as attribute to set color of outlines of vector and also none to remove it
24th Nov 2016, 11:48 AM
Sandeep Chatterjee
0
Anil Krishna raj is right 😉
5th Dec 2016, 2:37 AM
SHEHZAD KHAN
SHEHZAD KHAN - avatar