public abstract class AbstractOverlay extends AbstractData implements Overlay
Overlay implementations.Overlay.ArrowStyle, Overlay.LineStyle| Constructor and Description |
|---|
AbstractOverlay(Context context,
RealInterval interval) |
AbstractOverlay(RealInterval interval) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Informs interested parties that the data object is no longer relevant and
should be deleted.
|
Overlay |
duplicate() |
int |
getAlpha() |
ColorRGB |
getFillColor() |
ColorRGB |
getLineColor() |
Overlay.ArrowStyle |
getLineEndArrowStyle() |
Overlay.ArrowStyle |
getLineStartArrowStyle() |
Overlay.LineStyle |
getLineStyle()
Get the style of the outline line
|
double |
getLineWidth() |
RegionOfInterest |
getRegionOfInterest()
Retrieves the ImgLib region of interest, if any, that knows how to
determine whether a pixel is included in the overlay.
|
int |
numDimensions() |
void |
readExternal(ObjectInput in) |
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(RealPositionable min) |
void |
rebuild()
Informs interested parties that the data object has undergone a major
change, such as the dimensional extents changing.
|
protected void |
register()
Informs interested parties that the data object has become relevant and
should be registered.
|
void |
setAlpha(int alpha) |
void |
setFillColor(ColorRGB fillColor) |
void |
setLineColor(ColorRGB lineColor)
Set the color of the outline line of the overlay, if appropriate
|
void |
setLineEndArrowStyle(Overlay.ArrowStyle style) |
void |
setLineStartArrowStyle(Overlay.ArrowStyle style) |
void |
setLineStyle(Overlay.LineStyle lineStyle)
Set the style of the outline line of the overlay, if appropriate
|
void |
setLineWidth(double lineWidth)
Set the width of the outline line of the overlay, if appropriate
|
void |
update()
Informs interested parties that the data object has undergone a
non-structural change, such as sample values being updated.
|
void |
writeExternal(ObjectOutput out) |
compareTo, context, decrementReferences, getContext, getName, incrementReferences, publish, setContext, setName, toStringaverageScaleaxes, axis, setAxisclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecrementReferences, incrementReferencesmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointaverageScaledimensionIndexaxes, axis, setAxiscontext, getContext, setContextpublic AbstractOverlay(RealInterval interval)
public AbstractOverlay(Context context, RealInterval interval)
protected void register()
AbstractDataregister in class AbstractDatapublic void delete()
AbstractDatadelete in class AbstractDatapublic RegionOfInterest getRegionOfInterest()
OverlaygetRegionOfInterest in interface Overlaypublic int getAlpha()
public void setAlpha(int alpha)
public ColorRGB getFillColor()
getFillColor in interface Overlaypublic void setFillColor(ColorRGB fillColor)
setFillColor in interface OverlayfillColor - the fill color for overlays that have an interiorpublic ColorRGB getLineColor()
getLineColor in interface Overlaypublic void setLineColor(ColorRGB lineColor)
OverlaysetLineColor in interface Overlaypublic double getLineWidth()
getLineWidth in interface Overlaypublic void setLineWidth(double lineWidth)
OverlaysetLineWidth in interface OverlaylineWidth - the width to be used when painting lines and shape
borders, in pixels.public Overlay.LineStyle getLineStyle()
OverlaygetLineStyle in interface Overlaypublic void setLineStyle(Overlay.LineStyle lineStyle)
OverlaysetLineStyle in interface OverlaylineStyle - - style of linepublic Overlay.ArrowStyle getLineStartArrowStyle()
getLineStartArrowStyle in interface Overlaypublic void setLineStartArrowStyle(Overlay.ArrowStyle style)
setLineStartArrowStyle in interface Overlaystyle - the arrow style to be shown at the start of a line or pathpublic Overlay.ArrowStyle getLineEndArrowStyle()
getLineEndArrowStyle in interface Overlaypublic void setLineEndArrowStyle(Overlay.ArrowStyle style)
setLineEndArrowStyle in interface Overlaystyle - the arrow style to be shown at the end of a line or pathpublic void update()
Overlayupdate in interface Dataupdate in interface OverlayOverlayUpdatedEventpublic void rebuild()
Overlayrebuild in interface Datarebuild in interface OverlayOverlayRestructuredEventpublic int numDimensions()
numDimensions in interface EuclideanSpacenumDimensions in class AbstractAnnotatedSpace<CalibratedAxis>public double realMin(int d)
realMin in interface RealIntervalrealMin in class AbstractCalibratedRealInterval<CalibratedAxis>public void realMin(double[] min)
realMin in interface RealIntervalrealMin in class AbstractCalibratedRealInterval<CalibratedAxis>public void realMin(RealPositionable min)
realMin in interface RealIntervalrealMin in class AbstractCalibratedRealInterval<CalibratedAxis>public double realMax(int d)
realMax in interface RealIntervalrealMax in class AbstractCalibratedRealInterval<CalibratedAxis>public void realMax(double[] max)
realMax in interface RealIntervalrealMax in class AbstractCalibratedRealInterval<CalibratedAxis>public void realMax(RealPositionable max)
realMax in interface RealIntervalrealMax in class AbstractCalibratedRealInterval<CalibratedAxis>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class AbstractDataIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractDataIOExceptionClassNotFoundExceptionCopyright © 2014–2022 ImageJ. All rights reserved.