Javatpoint Logo
Javatpoint Logo

SVG Stroke

SVG supports multiple stroke properties. These are as follow:

stroke

It is used to define the color of text, line or outline of any element.

Example

Test it Now

stroke-width

It is used to define the thickness of text, line or outline of any element.

Example

Test it Now

stroke-linecap

It is used to define the different types of ending of a line or outline of any path.

Example

Test it Now

stroke-dasharray

It is used to create dashed lines.

Example

Test it Now
Next TopicSVG g Element





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA