Add linestring to painter path