butt— Squared end with no extension.round— Semicircular cap.square— Squared cap that extends past the end point.
Paint
StrokeCap
Defines the shape used at the ends of open stroke segments.
Was this page helpful?