Class DrawOverlay
Object
org.anchoranalysis.overlay.writer.DrawOverlay
public class DrawOverlay extends Object
Draws an ovleray onto a
RGBStack- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description DrawOverlay(DrawObject drawObject) -
Method Summary
Modifier and Type Method Description voiddrawOverlays(ColoredOverlayCollection overlays, RGBStack stack, IdentifierGetter<Overlay> idGetter)Draw a collection of colored-overlays on top of aRGBStack.
-
Constructor Details
-
Method Details
-
drawOverlays
public void drawOverlays(ColoredOverlayCollection overlays, RGBStack stack, IdentifierGetter<Overlay> idGetter) throws OperationFailedExceptionDraw a collection of colored-overlays on top of aRGBStack.- Parameters:
overlays- the overlays to write, together with their associated color.stack- the image to write overlays onto.idGetter- gets an id from anOverlay.- Throws:
OperationFailedException- if the operation cannot complete successfully.
-