lvd2svg
v1.1.8
Published
linear-gradient or radial-gradient android vector drawable to SVG converter.
Maintainers
Readme
LVD2SVG
Environment
recommended running environment: Node.js v24.0.2
Linear / radial gradient Vector Drawable To SVG converter
linear-gradient or radial-gradient android vector drawable to SVG converter.
Usage
npm i lvd2svg -g
cd drawable
lvd2svgSpecify the output directory; the default is ./out. Example:
cd drawable
lvd2svg -o ./outputfileFeatures
convert <path> <clipPath> <group> <gradient> Tag
- extract gradient colors from
@drawable/$ - extract color from Android color constants
@android:color/ - extract color from
values/colors.xml - extract color from
values/styles.xml - support group transform
References:
