SetDash(offset, on1, off1, ...)
To remove the dash pattern, call this function with the second argument set to -1.
Please note that the line dash style is only used when drawing vector outlines. It is obviously not used when filling vector paths.
Also note that the inbuilt vectorgraphics renderer introduced in Hollywood 6.0 currently does not support line dashing. Use a fully featured vectorgraphics plugin instead if you need line dashing. See Vectorgraphics plugin note for details.
SetFillStyle(#FILLNONE) SetFormStyle(#ANTIALIAS) SetLineWidth(10) SetDash(0, 10, 10, 20, 20, 30, 30, 40, 40) StartPath(1) MoveTo(1, 0, 0) LineTo(1, 640, 480) DrawPath(1, 0, 0, #RED)The code above draws a line using a dash pattern that first has four different on/off sections: The first on/off section is 10 units, the second 20 units, the third 30 units, and the fourth 40 units.