A directive for painting layered images into a canvas element, updating, reordering and positioning them.