Enums

StrokeDash

The dash patterns a stroke can have, from solid to Morse code SOS.

Enum enum pins

StrokeDash is the choice of dash pattern of a Stroke. In the property inspector, it's a drop-down list.

Values

SOLIDDOTSSMALL_DASHESDASHESLONG_DASHESDASH_DOTDOT_DASH_DOTSOS

Notes

  • SOLID is an unbroken line (the default).
  • DOTS, SMALL_DASHES, DASHES and LONG_DASHES repeat one mark.
  • DASH_DOT and DOT_DASH_DOT alternate dashes and dots.
  • SOS spells SOS in Morse code: three dots, three dashes, three dots.

Dash and gap lengths are fixed, whatever the stroke's width.

© 2026 Wirepaint