class TaskJuggler::Painter::Ellipse

An ellipse element.

Public Class Methods

new(attrs) click to toggle source

Create an ellipse with center at cx, cy and radiuses rx and ry.

Calls superclass method
# File lib/taskjuggler/Painter/BasicShapes.rb, line 34
def initialize(attrs)
  super('ellipse', [ :cx, :cy, :rx, :ry ] + FillAndStrokeAttrs, attrs)
end