polylineProgressWithEasing method - MapItemKeyFrameTrack class - animation library - Dart API
polylineProgressWithEasing
polylineProgressWithEasing static method
- List<
ScalarKeyframe> keyframes, - Easing easing,
- KeyframeInterpolationMode interpolationMode
Creates a keyframe track used to animate the progress of a polyline.
Each scalar keyframe specifies the value of MapPolyline.progress at key points of the animation.
-
keyframesThe list of keyframes that specify how the polyline progress 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 polylineProgressWithEasing(List<ScalarKeyframe> keyframes, Easing easing, KeyframeInterpolationMode interpolationMode) => $prototype.polylineProgressWithEasing(keyframes, easing, interpolationMode);