public class DefaultZoomService extends AbstractService implements ZoomService
ImageDisplay
s.Constructor and Description |
---|
DefaultZoomService() |
Modifier and Type | Method and Description |
---|---|
void |
zoom100Percent(ImageDisplay display)
Zooms the given image display to 100% resolution.
|
void |
zoomIn(ImageDisplay display)
Zooms in on the given image display.
|
void |
zoomOriginalScale(ImageDisplay display)
Zooms the given image display at the scale it was originally viewed at.
|
void |
zoomOut(ImageDisplay display)
Zooms out on the given image display.
|
void |
zoomSet(ImageDisplay display,
double zoomPercent,
double centerU,
double centerV)
Zooms in on the center of the given image display at the specified
magnification level and center coordinates.
|
void |
zoomToSelection(ImageDisplay display)
Zooms in on the given image display's currently selected region.
|
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public void zoomIn(ImageDisplay display)
ZoomService
zoomIn
in interface ZoomService
public void zoomOut(ImageDisplay display)
ZoomService
zoomOut
in interface ZoomService
public void zoomOriginalScale(ImageDisplay display)
ZoomService
zoomOriginalScale
in interface ZoomService
public void zoom100Percent(ImageDisplay display)
ZoomService
zoom100Percent
in interface ZoomService
public void zoomToSelection(ImageDisplay display)
ZoomService
zoomToSelection
in interface ZoomService
public void zoomSet(ImageDisplay display, double zoomPercent, double centerU, double centerV)
ZoomService
zoomSet
in interface ZoomService
Copyright © 2014–2022 ImageJ. All rights reserved.