[magick-users] Dot-Dash lines

rhubarbpie at poetworld.net rhubarbpie at poetworld.net
Sun Mar 16 10:43:24 PDT 2008


I'm drawing solid lines using the following:

 $image->Draw(primitive=>line,
              stroke=>black,
              strokewidth=>5,
              points=>"$StartX,$StartY $StopX,$StopY");


However, I'd like to replace the solid line with a "dot-dash" line.  By 
that I mean a line of dots and dashes, preferably starting and ending 
with a dot.  For instance, "dot dash dot dash dot."
I'd also like to determine the dot size relative to the dash.

Is this possible?


More information about the Magick-users mailing list