def __init__(self): self.items = defaultdict(PanelStrip) self.width = Raster.image_width(PanelVisual.background_image)
def __init__(self, image_file, ignore_background=False, overlay=False): self.width = Raster.image_width(image_file) self.image_file = image_file self.ignore_background = ignore_background self.overlay = overlay