Contents

lineCap

The style to use when drawing line endings.

Declaration

get lineCap(): CanvasLineCap;
set lineCap(lineCap: CanvasLineCap);

Discussion

The three options for line endings are butt (squared-off ends), round (rounded ends), or square (ends that have a half-square extension). The default is round.

See Also

Styling lines