The four values are the X and y of the center and teh x and y of a point on the edge of the circle.
If you have a radius you can just add the redail to either the x or y of the center value to get a point on the edge.
Eg circle at 50,50 with 30 pixel radius...
add 30 to the x value of the center gives 80 so the draw is...
-draw 'circle 50,50 80,50'
For more info see Im draw primatives
http://www.cit.gu.edu.au/~anthony/graph ... primatives
Draw Circle with center and radius
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/