简体   繁体   English

多边形SVG的不同笔划

[英]Different stroke of polygon SVG

How to set stroke color in SVG polygon with different colors? 如何在SVG多边形中设置不同颜色的笔触颜色? for example we have quadrangle and have to set 2 stroke red and 2 stroke black 例如,我们有四边形,必须设置2冲程红色和2冲程黑色

Draw 2 paths. 绘制2条路径。 Make one path the red parts of the polygon and the other the black. 将一条路径设为多边形的红色部分,将另一条路径设为黑色。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM