add drawRotatedRectangle to prepare for drawline
added clean h2d.graphics.drawLine