strokeCap

Sets the stroke cap style for line endpoints.

Parameters

cap

StrokeCap style (Butt, Round, or Square)


Sets the shape of line ends, e.g. strokeCap(new RoundCap()) from Java.

Parameters

cap

ButtCap, RoundCap or SquareCap