Parent

Methods

Class/Module Index [+]

Quicksearch

TaskJuggler::Painter::Line

A line element.

Public Class Methods

new(attrs) click to toggle source

Create a line from x1, y1, to x2, y2.

# File lib/taskjuggler/Painter/BasicShapes.rb, line 43
def initialize(attrs)
  super('line', [ :x1, :y1, :x2, :y2 ] + StrokeAttrs, attrs)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.