Drawing a transparent circle

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Drawing a transparent circle

Post by el_supremo »

The circle is defined by two coordinates. The first is the centre of the circle and the second is any point on the circumference. So a circle of radius r centred at x,y can be specified by
x, y, x+r, y

Pete
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Drawing a transparent circle

Post by anthony »

You will need to set 'fill' to 'none' to only get the outline of the circle.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply