+ 2

Stroke="color" ?

Hi community: I tried adding an outline with the stroke atribute (stroke="000000") but it is not doing anything, are the colors in Hex or or RGB? Also what is the attribute to control the size of the outline? Is it border as in CSS? thank you!

11th Mar 2017, 9:58 PM
Ervin Liz
Ervin Liz - avatar
3 Réponses
+ 3
The size of the outline is with stroke-width="". And hex colors start with a #, so #000000. See www.w3schools.com/graphics/svg_stroking.asp
11th Mar 2017, 10:20 PM
Jose Oliv
Jose Oliv - avatar
+ 1
Ok I think I solved the problem with the stroke (stroke="black") but I still need to know about the size of the outline. Please and thank you.
11th Mar 2017, 10:02 PM
Ervin Liz
Ervin Liz - avatar
+ 1
Ups never mind! I just needed to get further into the section to see the solution: style="stroke:#000000; stroke-linecap:round; stroke-width:20" this solves it. :)
11th Mar 2017, 10:10 PM
Ervin Liz
Ervin Liz - avatar