Module: Cairo::Context::Circle

Included in:
Cairo::Context
Defined in:
lib/cairo/context/circle.rb

Instance Method Summary collapse

Instance Method Details

#circle(center_x, center_y, radius) ⇒ Object



4
5
6
# File 'lib/cairo/context/circle.rb', line 4

def circle(center_x, center_y, radius)
  arc(center_x, center_y, radius, 0, 2 * Math::PI)
end