Contents

lineCap

A string specifying the type of end cap to put on lines to be drawn using lineTo().

Declaration

attribute DOMString lineCap;

Discussion

Possible values are butt (no end cap), round (round end cap half a line width in radius), and square (square end cap half a line width thick).

See Also

Filling and Stroking Lines and Paths