int thickness = action.getInt("thickness");
int startX = action.getInt("x");
int startY = action.getInt("y");
int x2 = action.getInt("x2");
int y2 = action.getInt("y2");
StraightLine curve = new StraightLine(color, thickness, startX, startY, x2, y2);
zone.add(curve);
}