| Name | Value | Description |
|---|---|---|
| Butt | 0 | The stroke is squared off at the endpoint of the path. |
| Round | 1 | A semicircular arc with a diameter equal to the line width is drawn around the endpoint and is filled in. |
| Square | 2 | The stroke continues beyond the endpoint of the path for a distance equal to the half of the line width and is squared off. |
Specifies the shape that shall be used at the ends of open subpaths (and dashes, if any) when they are stroked.