src/main/java/eu/digitisation/image/Bimage.java
public void add(Polygon p, Color color, float stroke) {
        Graphics2D g = createGraphics();
        g.setColor(color);
        g.setStroke(new BasicStroke(stroke));
        g.drawPolygon(p);
        g.dispose();
    }
/**
     * Add a polygonal frontier to the image
     *
     * @param p a polygon
     * @param color the color of the polygon
     * @param stroke the line width in pixels
     */
Add a polygonal frontier to the image
@param p a polygon
@param color the color of the polygon
@param stroke the line width in pixels
Add a polygonal frontier to the image @param p a polygon @param color the color of the polygon @param stroke the line width in pixels
public void add(Polygon p, Color color, float stroke) {
        Graphics2D g = createGraphics();
        g.setColor(color);
        g.setStroke(new BasicStroke(stroke));
        g.drawPolygon(p);
        g.dispose();
    }
public void add ( Polygon p , Color color , float stroke ) { Graphics2D g = createGraphics ( ) ; g . setColor ( color ) ; g . setStroke ( new BasicStroke ( stroke ) ) ; g . drawPolygon ( p ) ; g . dispose ( ) ; }
Add a polygonal frontier to the image
 @param p a polygon
 @param color the color of the polygon
 @param stroke the line width in pixels
Add a polygonal frontier to the image @param p a polygon @param color the color of the polygon @param stroke the line width in pixels