public static interface OverlayedImageCanvas.Overlay
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 the composite that will be used to paint this overlay.
|
void setComposite(Composite composite)
void paint(Graphics g, int x, int y, double magnification)
g
- the graphic device provided by the OverlayedImageCanvas
x
- the top-left corner x-coordinate of the image rectangle currently displayed in the OverlayedImageCanvas
y
- the top-left corner y-coordinatemagnification
- the OverlayedImageCanvas
current magnificationCopyright © 2015–2021 Fiji. All rights reserved.