shuaihao90/svg-android

use svg for libgdx project

Opened this issue · 1 comments

hi, all.
who can tell me how to use svg for libgdx project?
SVG svg = SVGParser.getSVGFromResource(getResources(), R.raw.android);
how can i getResources() in libgdx project();
thanhs.

Original issue reported on code.google.com by loveviet...@gmail.com on 8 Jul 2012 at 3:15

There are many more methods, just look here: 
https://code.google.com/p/svg-android/source/browse/trunk/svgandroid/src/com/lar
valabs/svgandroid/SVGParser.java - there is for example getSVGFromInputStream 
and getSVGFromString

Original comment by magne...@gmail.com on 4 Mar 2015 at 2:28