How can I go about creating a shape from a series of points in 2D space? I want to have 8 points, each of which I can move around to create various shapes such as rectangles, octagons, diamonds, and anywhere in between. I pretty much need up, down, left, right, and the 4 corners between them. This all makes sense, but how do I draw it on the screen?