简体   繁体   中英

How to color in an SVG file with multiple lines?

Forgive me for i'm pretty new to SVG files, but i basically have about 1000 lines worth of code from an image that I'm using as an SVG to fill in only specific parts with colors.

So my question is, how do i target the space between them? So for instance:

<g id="LINE">
<line class="st0" x1="34.3" y1="73.3" x2="17.4" y2="83"/>
</g>
<g id="LINE_1_">
<line class="st0" x1="30.5" y1="67" x2="13.8" y2="76.6"/>
</g>

how would I tell it that i want the space between 'line' and line_1' to be a specific color?

简单的油漆图像

您无法使用线条来完成此操作,应该使用多边形,折线,矩形构造形状,然后使用fill = color对其进行着色

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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