I have created a polygon (6 points). Lets call this one, outside polygon. inside the outside polygon I created smaller polygons. I want to flip all of it vertically.
I know the points of the outside polygon and I have an ArrayList for the inner polygons. I was able to flip the outside polygon. but how do I flipped the inner polygons keeping their relative positions in the new one? I know the center of the outside polygon and the flipped version.
Imagine that you are playing cards (the cards are shaped as polygons of 6 points) with and you want to flip the 4 of diamond? how do I do it? Thanks in advance.