startCap

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

Parameters

cap

StrokeCap style (Butt, Round, or Square)


Sets the shape of the start, e.g. startCap(new RoundCap()) from Java.

Parameters

cap

ButtCap, RoundCap or SquareCap