CanvasRects({ required this.color, required this.rect, this.name, required this.type, this.imageLocation, this.layer = 0 });