class TaskJuggler::Painter::Rect

A Rectangle element.

Public Class Methods

new(attrs) click to toggle source

Create a rectangle at x, y with width and height.

Calls superclass method
# File lib/taskjuggler/Painter/BasicShapes.rb, line 55
def initialize(attrs)
  super('rect', [ :x, :y, :width, :height, :rx, :ry ] +
                FillAndStrokeAttrs, attrs)
end