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

A line element.

Methods

new  

Public Class methods

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

[Source]

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

[Validate]