Skip to content

Converting simple shapes (rect, arc, line, polyline, polygone) to path elements and merging. #96

Closed
@redscorpix

Description

@redscorpix

Input:
<rect x="2" y="2" fill="#FFFFFF" width="2" height="2"/>
<rect x="2" y="6" fill="#FFFFFF" width="2" height="2"/>
<rect x="2" y="10" fill="#FFFFFF" width="2" height="2"/>
Paths:
<path fill="#fff" d="M2,2 h2 v2 h-2z"/>
<path fill="#fff" d="M2,6 h2 v2 h-2z"/>
<path fill="#fff" d="M2,10 h2 v2 h-2z"/>
Output:
<path fill="#fff" d="M2,2 h2 v2 h-2z M2,6 h2 v2 h-2z M2,10 h2 v2 h-2z"/>

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions