scale static method
- List<
ScalarKeyframe> keyframes, - Easing easing,
- KeyframeInterpolationMode interpolationMode
Creates a keyframe track used to animate the scale of a map item.
Each scalar keyframe specifies the scale value at key points of the animation.
-
keyframesThe list of keyframes that specify how the scale changes over time. -
easingThe easing to apply during keyframe interpolation. -
interpolationModeThe type of interpolation done between keyframe values.
Returns MapItemKeyFrameTrack. MapItemKeyFrameTrack instance.
Throws MapItemKeyFrameTrackInstantiationException. If the supplied keyframe list is empty or first keyframe duration is not 0.
Implementation
static MapItemKeyFrameTrack scale(List<ScalarKeyframe> keyframes, Easing easing, KeyframeInterpolationMode interpolationMode) => $prototype.scale(keyframes, easing, interpolationMode);