[英]svg rect multiple fill colors
我有一个svg rect元素。 我有“填充:rgb(31,119,180);” 它在下面图像的左侧渲染矩形。
如何设置矩形样式以呈现多个边框,如右图所示?
这是不可能的。 相反,您可以使用第二个矩形。 第一个具有白色背景和黑色边框,而内部则为蓝色。 或者第一个可能只是黑色,而内部则可能是带有白色笔触的蓝色。
[英]Fill D3.js rect with multiple colors or split rect into multiple rects
[英]How can I fill multiple colors in a path for SVG?
[英]Fill 'rect' background with 2 colors in d3
[英]SVG <rect> with text and div fill width with transition
[英]Highcharts multiple fill colors
[英]How to animate SVG rect to fill from bottom to top?
[英]SVG: generate a grid with random fill colour for each cell/rect?
[英]Filling an SVG path with multiple colors
[英]Multiple colors in one single character(svg)
[英]Highchart Polar chart multiple background colors to SVG
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.