Click the shape. Click the Home tab. Click the Quick Styles button.
Click the style from the gallery to apply it to the selected line.