Add highlightRect and getPath methods

Moved path things to LinePolygonManager and made onDraw more efficient.