Mikolaj Machowski on  wrote...
| Hello,
| 
| Do you know any trick to create dashed line?
| 
Use a  stroke-dasharray

See  Draw on Images, MVG settings, Plain and Dashed Lines

  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/draw/#mvg_settings


    convert -size 100x60 xc:skyblue -fill none -stroke black \
            -draw "                           path 'M 10,10 L 90,10'" \
            -draw "stroke-dasharray 5 3       path 'M 10,20 L 90,20'" \
            -draw "stroke-dasharray 5 5       path 'M 10,30 L 90,30'" \
            -draw "stroke-dasharray 10 3 3 3  path 'M 10,40 L 90,40'" \
            -draw "stroke-dasharray 1 6       path 'M 10,50 L 90,50'" \
            set_lines.gif

WARNING: there is a know long term bug.
See Bug testing at  very bottom of page
  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/bugs/testing/

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
       "[A computer is] like an Old Testament god,
            with a lot of rules and no mercy."   ---  Joseph Campbell
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to