class TaskJuggler::Painter::Rect
A Rectangle element.
Public Class Methods
Source
# File lib/taskjuggler/Painter/BasicShapes.rb, line 56 def initialize(attrs) super('rect', [ :x, :y, :width, :height, :rx, :ry ] + FillAndStrokeAttrs, attrs) end
Create a rectangle at x, y with width and height.
Calls superclass method