def __init__(self, f, canvaswidth, canvasheight, color='black', resolution=500):
    self.resolution = resolution
    self.path = f
    self.height = canvasheight
    self.width = canvaswidth
    self.color = color
def __init__(self, f, canvaswidth, canvasheight, color='black', resolution=500):
    self.resolution = resolution
    self.path = f
    self.height = canvasheight
    self.width = canvaswidth
    self.color = color