Contents

lineCap

The style to use when drawing line endings.

Declaration

get lineCap(): "square" | "butt" | "round";
set lineCap(lineCap: "square" | "butt" | "round");

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