Dear friends,
I want to draw two circles, one green, and one black with dashed lines. I could generate two circles as per below command, but could not make dashed lines in black circle.
convert -size 250x250 xc:white -fill none -stroke green -strokewidth 3 -draw "circle 125,125 225,125" -fill none -stroke black -strokewidth 2 -draw "circle 125,125 %1,125" draw_circle1.bmp
Circle with dash lines
-
- Posts: 26
- Joined: 2011-02-08T04:37:21-07:00
- Authentication code: 8675308
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Circle with dash lines
try this:
convert -size 250x250 xc:white \
-fill none -stroke green -strokewidth 3 -draw "circle 125,125 225,125" \
-fill none -stroke black -strokewidth 2 -draw "stroke-dasharray 5 5 circle 125,125 200,125" \
draw_circle1.bmp
see stroke-dasharray at http://www.imagemagick.org/script/magic ... primitives
also examples at http://www.imagemagick.org/Usage/draw/#mvg_settings
convert -size 250x250 xc:white \
-fill none -stroke green -strokewidth 3 -draw "circle 125,125 225,125" \
-fill none -stroke black -strokewidth 2 -draw "stroke-dasharray 5 5 circle 125,125 200,125" \
draw_circle1.bmp
see stroke-dasharray at http://www.imagemagick.org/script/magic ... primitives
also examples at http://www.imagemagick.org/Usage/draw/#mvg_settings
-
- Posts: 26
- Joined: 2011-02-08T04:37:21-07:00
- Authentication code: 8675308
Re: Circle with dash lines
Than you very much for your reply and reference