I am trying to create a widget which shows the characters main stats in the form of a radar chart. Each point would represent stuff like toughness, skill, magic etc. the usual things and you would be able to quickly gain a sense of what this characters strengths and weaknesses.
I have found the draw polygon function and am feeling that I will have to draw this to a 2d canvas but I have no idea how to make the points be driven where they need to be. I can do the math easy enough to drive them to a particular point. my problem is drawing the polygon.
Stats are set in the character as an integer 0 - 100.
here is the general idea of what I would like to draw:
Would anyone be able to help me out?