title: Rotating the Rectangle object in java
body: <p>Is it possible to rotate the <code>Rectangle</code> object to a certain degree around it's axis? Is it as easy as <code>Rectangle rect = new Rectangle(x,y,w,h,r)</code>? </p>
  
  <p>If it is not possible to rotate the object, what would be a way I could get similar results?</p>
  
  <p><strong>Edit:</strong> for clarity here is my dilemma, I have images that rotate but when they colide with other images the collisions only work at 90 and 180 degree rotations because their hit box Rectangle objects don't rotate.</p>