public class ImageOverlay extends Object implements OverlayedImageCanvas.Overlay
| Constructor and Description |
|---|
ImageOverlay() |
ImageOverlay(ij.process.ImageProcessor imp) |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(Graphics g,
int x,
int y,
double magnification)
Paint this overlay on the given graphic device.
|
void |
setComposite(Composite composite)
Set composite mode
|
void |
setImage(ij.process.ImageProcessor imp)
Set image processor to be painted in the overlay
|
public ImageOverlay()
public ImageOverlay(ij.process.ImageProcessor imp)
public void paint(Graphics g, int x, int y, double magnification)
OverlayedImageCanvas.Overlaypaint in interface OverlayedImageCanvas.Overlayg - the graphic device provided by the OverlayedImageCanvasx - the top-left corner x-coordinate of the image rectangle currently displayed in the OverlayedImageCanvasy - the top-left corner y-coordinatemagnification - the OverlayedImageCanvas current magnificationpublic void setComposite(Composite composite)
setComposite in interface OverlayedImageCanvas.Overlaycomposite - composite modepublic void setImage(ij.process.ImageProcessor imp)
imp - input imageCopyright © 2015–2021 Fiji. All rights reserved.