You can't express a rotated box with just two points, you need to defined all four. Basically, use the draw line method to draw a line from all anchor points to their neighbours.
Shitlord by trade and passion. Graphics programmer at Laminar Research. I write blog posts at feresignum.com