Page 1 of 1
draw arrow
Posted: 2010-10-06T02:32:34-07:00
by galv
I have a -draw rectangle and I want to draw an arrow pointing at it and having a caption near the arrow.
How would I do that?
Example:
-------------
|rectangle| <------- Caption
-------------
Re: draw arrow
Posted: 2010-10-06T13:43:15-07:00
by fmw42
draw a rectangle, draw a line and draw a "<" character at the end of the line or a filled triangle at the end of the line or an arrowhead icon at the end of the line. see
http://www.imagemagick.org/Usage/draw/
you will need to specify the individual coordinates for each
I don't believe that MVG has an arrow primitive. see
http://www.imagemagick.org/script/magic ... aphics.php
But you can fake as above. See
http://www.imagemagick.org/Usage/draw/#arrows