Home > Enterprise >  I want to resize all the layers of my SVG by keeping the origin centre in swift macOS
I want to resize all the layers of my SVG by keeping the origin centre in swift macOS

Time:10-18

I have svg editor and I want to add spacing between the layers by resizing or by some other method,I tried a lot but still I have not find any relevant answer.

CodePudding user response:

same issue I'm facing , as soon as I will find any solution I will share.

CodePudding user response:

Use the recursion method and call all the layers in a loop in the method iterate all sublayers and call the exact same function for the sublayers keeping the old origin value

  • Related