butt– squared, no extension.round– semicircular cap.square– squared, extends past the end point.
Paint
StrokeCap
Defines the shape used at the ends of open stroke segments.