Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 463 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 463 Bytes

Android Vector to SVG

A JavaScript converter to convert android vector drawables to SVG files. An online version of the converter can be found at moonlight.wtf

Usage

var androidVector = '<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="...';
var svgDoc = Converter.convertVD2SVG(androidVector);
console.log(new XMLSerializer().serializeToString(svgDoc));