[magick-users] Dot-Dash lines

rhubarbpie at poetworld.net rhubarbpie at poetworld.net
Sun Mar 16 13:30:19 PDT 2008


I'm drawing a solid line 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