class TaskJuggler::Painter::Text
A text element.
Public Class Methods
Source
# File lib/taskjuggler/Painter/Text.rb, line 25 def initialize(str, attrs) super('text', [ :x, :y ] + TextAttrs, attrs) @text = str end
Create a text of str at x, y coordinates.
Calls superclass method
TaskJuggler::Painter::Element::new