class Tree(Rectangle): def __init__(self, win, x, y, unit): trunk = Rectangle(Point(x - unit/2, y), Point(x + unit/2, y + unit*0.825)) trunk.setF