factory VecRect([int length = 0, int x = 0, int y = 0, int width = 0, int height = 0]) => VecRect.generate(length, (i) => Rect(x, y, width, height));