Method: QuickMagick::Image#draw_circle
- Defined in:
- lib/quick_magick/image.rb
#draw_circle(x0, y0, x1, y1, options = {}) ⇒ Object
The circle primitive makes a disk (filled) or circle (unfilled). Give the center and any point on the perimeter (boundary).
305 306 307 |
# File 'lib/quick_magick/image.rb', line 305 def draw_circle(x0, y0, x1, y1, ={}) append_to_operators("draw", "#{()} circle #{x0},#{y0} #{x1},#{y1}") end |