src/main/java/eu/digitisation/layout/BoundingBox.java
public Polygon asPolygon() {
        Polygon polygon = new Polygon();
        polygon.addPoint(x, y);
        polygon.addPoint(x, y + height);
        polygon.addPoint(x + width, y + height);
        polygon.addPoint(x + width, y);
        return polygon;
    }
/**
     * The bounding box a s a polygon
     *
     * @return
     */
The bounding box a s a polygon
@return
The bounding box a s a polygon @return
public Polygon asPolygon() {
        Polygon polygon = new Polygon();
        polygon.addPoint(x, y);
        polygon.addPoint(x, y + height);
        polygon.addPoint(x + width, y + height);
        polygon.addPoint(x + width, y);
        return polygon;
    }
public Polygon asPolygon ( ) { Polygon polygon = new Polygon ( ) ; polygon . addPoint ( x , y ) ; polygon . addPoint ( x , y + height ) ; polygon . addPoint ( x + width , y + height ) ; polygon . addPoint ( x + width , y ) ; return polygon ; }
The bounding box a s a polygon
 @return
The bounding box a s a polygon @return