I'm generating an SVG
from a NSString*
on iOS
. I can't center a text around a (x, y)
coordinate. I've tried the following:
text-alignment="middle"
text-anchor="middle"
style="text-anchor:middle"
style="text-alignment:middle"
but I couldn't make it work.
Didn't find anything helpful on the webs either.
Thank you!