Method: Vips::Image#draw_circle

Defined in:
lib/vips/methods.rb

#draw_circle(ink, cx, cy, radius, **opts) ⇒ Vips::Image

Draw a circle on an image.

Parameters:

  • ink (Array<Double>) —

    Color for pixels

  • cx (Integer) —

    Centre of draw_circle

  • cy (Integer) —

    Centre of draw_circle

  • radius (Integer) —

    Radius in pixels

  • opts (Hash) —

    Set of options

Options Hash (**opts):

  • :fill (Boolean) —

    Draw a solid object

Returns:



# File 'lib/vips/methods.rb', line 3183