add line and polygon draw methods