#initialize
This class inherits a constructor from GD2::Canvas::Ellipse
179 180 181 182
# File 'lib/gd2/canvas.rb', line 179 def draw(image, mode) ::GD2::GD2FFI.send(:gdImageFilledEllipse, image.image_ptr, @center.x.to_i, @center.y.to_i, @width.to_i, @height.to_i, mode.to_i) end