shape = getPath(c);
}
if (shape != null) {
// ImageFigure fig = new ImageFigure(shape, fill, outline, lineWidth, interactor);
RoiFigure fig = new RoiFigure(shape, fill, outline, lineWidth, interactor);
if (composite != null) {
fig.setComposite((AlphaComposite) composite);
}
canvasDraw.addFigure(fig);
}
}
}