Class: GD2::Canvas::Ellipse
- Inherits:
-
Object
- Object
- GD2::Canvas::Ellipse
- Defined in:
- lib/gd2/canvas.rb
Direct Known Subclasses
Instance Method Summary collapse
- #draw(image, mode) ⇒ Object
-
#initialize(center, width, height) ⇒ Ellipse
constructor
A new instance of Ellipse.
Constructor Details
#initialize(center, width, height) ⇒ Ellipse
Returns a new instance of Ellipse.
148 149 150 |
# File 'lib/gd2/canvas.rb', line 148 def initialize(center, width, height) @center, @width, @height = center, width, height end |