module TaskJuggler::Painter::Primitives

This module contains utility methods to create the canvas Elements with minimal overhead. The element is added to it’s current parent and mandatory arguments are enforced. It also eliminates the need to call ‘new’ methods of each Element.