SVG - 如何使用Batik库获取SVGPathElement中的子路径总数?

时间:2017-08-31 20:06:54

标签: svg path batik

例如在下面的例子中,有两个嵌套的图纸,我想计算较大路径的区域而忽略另一个。

path style =" opacity:1; fill:#000000; fill-opacity:1; stroke:none; stroke-width:0.0343547; stroke-linecap:round; stroke-linejoin:miter; stroke-miterlimit :4;卒中dasharray:无;中风不透明度:0"

d =" M 207.87305 372.2832 L 207.87305 750.23633 L 585.82617 750.23633 L 585.82617 372.2832 L 207.87305 372.2832 z M 302.36133 466.77148 L 491.33789 466.77148 L 491.33789 655.74805 L 302.36133 655.74805 L 302.36133 466.77148 z"变换="矩阵(0.9375,0,0,0.9375,0,5.0439605e-6)" ID =" path4562" />

0 个答案:

没有答案