0

I want to know if there is a possibility to use svg graphics with libgdx. I know that Libgdx itself can not handle svgs but is there a possibility with an extension or a method which pre creates PNG's/JPG's out of the SVG's and pass them to Libgdx?

Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65
Tim Jansen
  • 109
  • 1
  • 6

1 Answers1

1

No, currently not supported.

For simple shape rendering you can use ShapeRenderer. You can't parse .svg file because of cross platform support.

For android you can use https://github.com/pents90/svg-android

Also check this thread, It may be helpful.

Community
  • 1
  • 1
Abhishek Aryan
  • 19,936
  • 8
  • 46
  • 65