public class OverlayMark extends Overlay
Constructor and Description |
---|
OverlayMark(Mark mark,
RegionMembershipWithFlags regionMembership) |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
box(DrawOverlay overlayWriter,
Dimensions dim)
A bounding-box around the overlay.
|
protected boolean |
canEqual(Object other) |
ObjectWithProperties |
createObject(Dimensions dimensionsEntireImage,
BinaryValuesByte binaryValuesOut)
Derives an object-mask representation of the overlay to be drawn with
overlayWriter . |
boolean |
equals(Object o) |
int |
getIdentifier() |
Mark |
getMark()
The
Mark to overlay. |
int |
hashCode() |
public OverlayMark(Mark mark, RegionMembershipWithFlags regionMembership)
public BoundingBox box(DrawOverlay overlayWriter, Dimensions dim)
Overlay
public ObjectWithProperties createObject(Dimensions dimensionsEntireImage, BinaryValuesByte binaryValuesOut) throws CreateException
Overlay
overlayWriter
.createObject
in class Overlay
dimensionsEntireImage
- how large the image is onto which the overlay will be drawn.binaryValuesOut
- what constitutes on and off pixels in the produced object-mask.CreateException
- if the object cannot be created successfully.public int getIdentifier()
protected boolean canEqual(Object other)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.