public class AnimatedScaleController extends ScaleController
ScaleController which performs smooth scale transictions.imageRenderer| Constructor and Description |
|---|
AnimatedScaleController(EditableImageRenderer imageRenderer)
Creates a new instance of this class, attached to the given renderer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning()
Returns true if the zoom animation is running.
|
void |
setScale(double scale,
Point pivot)
Sets the scale using a pivot point.
|
fitToView, fitToView, getImageRenderer, getScale, getZoomFactor, setScale, setZoomFactor, showActualPixels, zoomIn, zoomOutpublic AnimatedScaleController(EditableImageRenderer imageRenderer)
imageRenderer - the image rendererpublic boolean isRunning()
public void setScale(double scale,
Point pivot)
ScaleControllersetScale in class ScaleControllerscale - the new scalepivot - the pivot point (null means the center of the image)Copyright © 2003–2014 Tidalwave s.a.s. (http://tidalwave.it). All rights reserved.