#initialize
This class inherits a constructor from GD2::Canvas::Ellipse
160 161 162 163
# File 'lib/gd2/canvas.rb', line 160 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