endCap

Sets the stroke cap style for the end of the polyline.

Parameters

cap

StrokeCap style (Butt, Round, or Square)