finished drawRectangle