Class TaskJuggler::Painter::Rect
In: lib/taskjuggler/Painter/BasicShapes.rb
Parent: Element

A Rectangle element.

Methods

new  

Public Class methods

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

[Source]

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

[Validate]