Paint.Dash (gb.qt4)
Returns or sets the dash pattern to be used by Paint.Stroke.
A dash pattern is specified by dashes, an array of positive values. Each value provides the length of alternate "on" and "off" portions of the stroke.
Each "on" segment will have caps applied as if the segment were a separate sub-path. In particular, it is valid to use an "on" length of 0.0 with Paint.LineCapRound or Paint.LineCapSquare in order to distributed dots or squares along a path.
The length values are in line width units. For example, if the line width is 10 pixels, then a dash set to 3.0 is 30 pixels long.
See also