int thickness = action.getInt("thickness");
int x = action.getInt("x");
int y = action.getInt("y");
int x2 = action.getInt("x2");
int y2 = action.getInt("y2");
Rectangle shape = new Rectangle(color, fillColor, thickness, x, y, x2, y2);
zone.add(shape);
}