Method: Magick::RVG::ShapeConstructors#ellipse
- Defined in:
- lib/rvg/embellishable.rb
#ellipse(rx, ry, cx = 0, cy = 0) ⇒ Object
Draws an ellipse whose center is [cx
, cy
] and having a horizontal radius rx
and vertical radius ry
.
272 273 274 275 276 |
# File 'lib/rvg/embellishable.rb', line 272 def ellipse(rx, ry, cx=0, cy=0) ellipse = Ellipse.new(rx, ry, cx, cy) @content << ellipse return ellipse end |