![]() |
VOOZH | about |
The stroke-dasharray attribute is a presentation attribute defining the pattern of dashes used to paint the outline of the shape.
Syntax:
stroke-dasharray="number pattern"
Attribute Values:
We will use the stoke-dasharray attribute for setting the pattern of the stroke.
Example 1: In this example we will use the stroke-dasharray attribute for setting the pattern of line.
Output:
👁 ImageExample 2: In this example we will use the stroke-dasharray attribute for setting the pattern of circle
Output:
👁 Image