ImageFigure imf = new ImageFigure(); imf.setBufferedImage(bimg); imf.set(STROKE_COLOR, null); imf.setBounds(new Point2D.Double(0, 0), new Point2D.Double(icon.getIconWidth(), icon.getIconHeight()));
figure.set(AttributeKeys.FILL_COLOR, new Color(0, 0, 0, 0)); final RegionOfInterest roi = overlay.getData().getRegionOfInterest(); if (roi != null) {