renamed DrawRectangle to DrawRectangleFromLine