Butt cap. The stroke is squared off at the endpoint of the path.
Round cap. A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
Projecting square cap. The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
Description
Line cap style enumeration.
Example