Contents

lineCap

The style to use when drawing line endings.

Declaration

lineCap?: "butt" | "round" | "square";

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 line cap is round.

See Also

Setting line styles