Reputation: 33
I created a certain shape using the class Path and MoveTo and CubicCurveTo etc ...
My question is simple, how do i resize it since its not resizable ? i'm thinking of creating a copy with all the coordinates divided by a factor but there are too many coordinates.
Thanks for your help.
Upvotes: 0
Views: 122
Reputation: 10979
The good thing about vector graphics is they can be scaled very easily. Check out setScaleX() You have to also scale in the Y direction as well or it will be stretched.
Upvotes: 2