Set Margin and Stroke for Polyline