Methods

Class/Module Index [+]

Quicksearch

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.

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.