Class: GD2::Canvas::FilledEllipse
Instance Method Summary collapse
Methods inherited from Ellipse
Constructor Details
This class inherits a constructor from GD2::Canvas::Ellipse
Instance Method Details
#draw(image, mode) ⇒ Object
178 179 180 181 |
# File 'lib/gd2/canvas.rb', line 178 def draw(image, mode) GD2FFI.send(:gdImageFilledEllipse, image.image_ptr, @center.x.to_i, @center.y.to_i, @width.to_i, @height.to_i, mode.to_i) end |