def __init__(self, command, node, canvasContext, rootTree): Element.__init__(self) self.node = node self.command = command self.canvasContext = canvasContext self.rootTree = rootTree self.gradientHelper = GradientHelper(self)
def __init__(self, command, node, canvasContext, root): Element.__init__(self) self.command = command self.node = node self.canvasContext = canvasContext self.root = root