Support for Nine-Patch or SVGs

Do we have any Nine-Patch support? Link
Or any provision to upload SVGs?

Is that what you’re looking for?
https://docs.coronalabs.com/plugin/nanosvg/index.html

Thanks @bgmadclown!
I am using Corona Cards, hence making use of plugins gets complicated so looking for alternatives.

Hmm so you may want to take a look at the GitHub repo of NanoSVG. Maybe there is something you can do with the source code.

Also found these through Google but not sure how much work would it take to integrate them with Solar2D.



1 Like

Here’s my basic 9-slice module…

3 Likes

SSK2 has a hidden 9-slice helper buried in ssk.misc.*