According to dojo documentation, lines in dojox.gfx support a number of stroke styles:
“Solid” “ShortDash” “ShortDot” “ShortDashDot” “ShortDashDotDot” “Dot” “Dash” “LongDash” “DashDot” “LongDashDot” “LongDashDotDot” “none”
- Am I limited to these combinations?
- Is it possible to create custom styles by defining a line/dot pattern?
- Is it possible to define the scale of the pattern or the unit length?
Thanks!
Dojo is a cross platform API and on IE8 and below it generates VML, elsewhere (e.g. IE9+) it generates SVG.
e.g.