Similar to the dasharray CSS property, the stroke-dashoffset attribute can also be controlled using CSS. The dashoffset property specifies how far into the dash pattern to start the dash. With SVG images being a part of the web browser’s DOM and stroke-dasharray being a presentation element, the attribute can also be set using CSS. If you wanted to draw your lines as a group of dashes and gaps instead of one continuous stroke of ink, this is the attribute you would use. The stroke-dasharray attribute controls the pattern of dashes and gaps used to stroke the path. Using other drawing commands, you can create complex shapes:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |