Implemented drawPolyline().
Implemented drawLine().