Add an option to turn off interpolation for LinePath shapes

To fix issue #236