Home » SVG Stroke

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

You may also like