开发者

SVG rect border width

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜