almosr / android-svg-code-render

Convert SVG files into Java source and use it in your Android app
Apache License 2.0
24 stars 3 forks source link

Implement replacing of static colors by dynamic color parameter #59

Closed almosr closed 9 years ago

almosr commented 9 years ago

In the original library it is possible to replace colors dynamically while rendering the output. Currently, this is not possible with the emitted Java code.

Implement a configuration file which lists color codes and variable/parameter names which can be added as parameter to the render function and the color will be replaced at rendering time by the value of the specified variable/parameter.