src/main/java/org/fit/layout/model/Rectangular.java
public void move(int xofs, int yofs)
    {
        x1 += xofs;
        y1 += yofs;
        x2 += xofs;
        y2 += yofs;
    }
public void move(int xofs, int yofs)
    {
        x1 += xofs;
        y1 += yofs;
        x2 += xofs;
        y2 += yofs;
    }
Changes the rectangle coordinates by adding the specified X and Y offsets
@param xofs the X offset
@param yofs the Y offset