Parent

Methods

Class/Module Index [+]

Quicksearch

TaskJuggler::Painter::Text

A text element.

Public Class Methods

new(str, attrs) click to toggle source

Create a text of str at x, y coordinates.

# File lib/taskjuggler/Painter/Text.rb, line 23
def initialize(str, attrs)
  super('text', [ :x, :y ] + TextAttrs, attrs)
  @text = str
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.