def __init__(self, tree, canvas, stem_color=(<NUM_LIT:255>, <NUM_LIT:255>, <NUM_LIT:255>), leaf_color=(<NUM_LIT>, <NUM_LIT>, <NUM_LIT>), thickness=<NUM_LIT:1>, ages=None):
self.canvas = canvas<EOL>self.tree = tree<EOL>self.stem_color = stem_color<EOL>self.leaf_color = leaf_color<EOL>self.thickness = thickness<EOL>self.ages = range(tree.age+<NUM_LIT:1>) if ages is None else ages<EOL>
Constructor of drawer.

        Args:
            tree (object): The tree, which should drawn on canvas.
            canvas (object): The canvas for drawing the tree.
            stem_color (tupel): Color or gradient for the steam of the tree.
            leaf_color (tupel): Color for the leaf (= the color for last iteration).
            thickness (int): The start thickness of the tree.
            ages (array): Contains the ages you want to draw.

        Returns:
            int: The thickness of the branch/es