rectangle inclined at an angle to the x-axis using python
<p>I want to draw a rectangle which is inclined at an angle to the x-axis using python.Angle is measured from x-axis to the line passing through the middle of the rectangle.</p>

<p>I want to generate around 500 such images of rectangle inclined at different angles. I tried using lines but there must be a better way to draw one,may be some standard function. </p>
