Enums
StrokeCaps
How the ends of lines and dashes are drawn.
Enum enum pins
StrokeCaps is the shape of the ends of a line, and of each dash, in a Stroke. In the property inspector, it's a drop-down list.
Values
buttroundsquare
Notes
buttends exactly at the end point, squared off.round(the default) adds a half circle, half the stroke's width deep.squareadds a half square, half the stroke's width deep.
Closed shapes have no ends, but their dashes do.