rotation of a vertex-shape, Center-Mode?
in
Programming Questions
•
2 years ago
Hi,
i have created a shape using vertex an bezierVertex, how can i rotate this shape around its Center?
with shapeMode(Center) it rotates around the upper left corner,
maybe i can calculate the center but how?
and i forgot the shape is not closed…
Thank you!
good night
i have created a shape using vertex an bezierVertex, how can i rotate this shape around its Center?
with shapeMode(Center) it rotates around the upper left corner,
maybe i can calculate the center but how?
and i forgot the shape is not closed…
Thank you!
good night
1