Class DrawOverlay
Object
DrawOverlay
Draws an ovleray onto a
RGBStack
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawOverlays
(ColoredOverlayCollection overlays, RGBStack stack, IdentifierGetter<Overlay> idGetter) Draw a collection of colored-overlays on top of aRGBStack
.
-
Constructor Details
-
DrawOverlay
Creates a newDrawOverlay
instance.- Parameters:
drawObject
- How the overlay is drawn after being converted to aObjectMask
.
-
-
Method Details
-
drawOverlays
public void drawOverlays(ColoredOverlayCollection overlays, RGBStack stack, IdentifierGetter<Overlay> idGetter) throws OperationFailedException Draw 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.
-