public interface Zoomer
Modifier and Type | Method and Description |
---|---|
void |
zoom(double scale)
Called when zoom has changed.
|
void |
zoomToFit()
Called to fit the subject of the zoom into the viewer.
|
void |
zoomToOriginal()
Called to restore the subject of the zoom to its original scale.
|
void zoom(double scale)
scale
- New zoom scale that is in effectvoid zoomToFit()
void zoomToOriginal()