BUG:395137 Ensure polyline takes into account the no-stroke setting.
The polygon tool already did take this into account, now the polyline tool does too!