StrokeLineCap
API reference › HTML SVG › Values › StrokeLineCap
Represents literal string values for the SVG stroke-linecap attribute.
Provides the keyword values used by the stroke-linecap attribute.
See also: Circle::strokeLineCap(), Ellipse::strokeLineCap(), G::strokeLineCap(), Line::strokeLineCap(), Path::strokeLineCap(), Polygon::strokeLineCap(), Polyline::strokeLineCap(), Rect::strokeLineCap(), Text::strokeLineCap().
| Case | Value | Description |
|---|---|---|
BUTT | 'butt' | butt - Stroke is squared off at the endpoint of the path. This is the default value. |
ROUND | 'round' | round - Stroke is rounded at the endpoint of the path. |
SQUARE | 'square' | square - Stroke continues beyond the endpoint of the path for a distance equal to half the stroke width. |