public Coordinate getEndPoint1() {
        Coordinate coord1 = new Coordinate(0,0);
        if ((rotation % 2) == 1 ) {
            coord1 = new Coordinate(x-100, y);
        }
        if ((rotation % 2) == 0 ) {
            coord1 = new Coordinate(x, y-100);
        }
        return coord1;
    }