Home
Categories
Dictionary
Download
Project Details
FAQ
License

Strokes support


    1  Example
    2  Notes
    3  See also

The following attributes are supported for strokes[1] :
  • stroke-width
  • stroke-dasharray
  • stroke-linecap
  • stroke-linejoin
  • stroke-miterlimit

Example

   <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
   xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200" viewBox="0 0 200 200">
      <g>
         <rect style="stroke-width:4;stroke-dasharray:5 5;" height="100" x="50" y="50" />
      </g>
   </svg>

Notes

See also


Categories: fromsvgsupport

Copyright 2021-2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD-3-Clause License