I use Rafael.js to draw rectangles in the image. My problem with adjusting the color of the stroke is that the background can be dark or light or any color. I thought the best way to handle this is to use dashed lines. However this challenge
circle = Canvas.paper.rect(left, topCoord, width, height).attr({stroke-dasharray:"---"});
does not work. Firebug (in FireFox 20.0) returns an error message stating that the existing function in my .js file does not exist. It seems like a dasharray bar is not valid for rectangles.
Otago harbor
source share