class TaskJuggler::Painter::Line
A line element.
Public Class Methods
new(attrs)
click to toggle source
Create a line from x1, y1, to x2, y2.
Calls superclass method
# File lib/taskjuggler/Painter/BasicShapes.rb, line 45 def initialize(attrs) super('line', [ :x1, :y1, :x2, :y2 ] + StrokeAttrs, attrs) end