com.supermap.mapping.dyn
Class ZoomAnimator
- java.lang.Object
-
- com.supermap.mapping.dyn.Animator
-
- com.supermap.mapping.dyn.ZoomAnimator
-
public class ZoomAnimator extends Animator
Zoom animation class.
-
-
Constructor Summary
Constructors Constructor and Description ZoomAnimator(float zoomScale, int duration)
Constructor of zoom animation.ZoomAnimator(ZoomAnimator animator)
Create a new GeoArc object that is the same with the given ZoomAnimator object.
-
Method Summary
-
Methods inherited from class com.supermap.mapping.dyn.Animator
getDuration, isAnimating, setDuration, stopAnimation
-
-
-
-
Constructor Detail
-
ZoomAnimator
public ZoomAnimator(float zoomScale, int duration)
Constructor of zoom animation.- Parameters:
zoomScale
- the scale ratioduration
- Dynamic duration time, unit: ms
-
ZoomAnimator
public ZoomAnimator(ZoomAnimator animator)
Create a new GeoArc object that is the same with the given ZoomAnimator object.- Parameters:
animator
- The given ZoomAnimator object.
-
-