当我从 MAC Sketch App 导出 SVG 时
我有两个问题:
1)删除不需要的标签
<!-- Generator: Sketch 40 (33762) - http://www.bohemiancoding.com/sketch -->
<title>Combined Shape</title>
<desc>Created with Sketch.</desc>
<defs></defs>
2)我需要导出所有路径舍入到最接近的整数并创建路径。
它导出为:
<path d="M10,18.0000511 L10,18.0000511 Z"></path>
设置为导出如下:
<path d="M10,18 L10,18 Z"></path>
请帮我解决这个问题