开发者

SVG rect border width

开发者 https://www.devze.com 2023-03-20 14:21 出处:网络
Is it possible to manipu开发者_Python百科late SVG rect\'s borders in the same way as it border-left-width, border-right-width and so on does?try this and change it as yours.

Is it possible to manipu开发者_Python百科late SVG rect's borders in the same way as it border-left-width, border-right-width and so on does?


try this and change it as yours.

<svg width="400" height="110"> 
   <rect width="300" height="100" style="fill:rgb(0,0,255);stroke-width:3;stroke:rgb(0,0,0)" /> 
</svg>


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消