Search code examples
svgrect

SVG rect border width


Is it possible to manipulate SVG rect's borders in the same way as it border-left-width, border-right-width and so on does?


Solution

  • Since you asked, the answer, I'm afraid is no. If you want to selectively change the sides of a rectangle, you'll have to draw it as four separate lines.