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

  • butt ends exactly at the end point, squared off.
  • round (the default) adds a half circle, half the stroke's width deep.
  • square adds a half square, half the stroke's width deep.

Closed shapes have no ends, but their dashes do.

© 2026 Wirepaint