Wpf 使用路径向点动画添加缓和函数
如何使用Path向PointAnimations添加缓和功能 它没有像Wpf 使用路径向点动画添加缓和函数,wpf,animation,easing-functions,Wpf,Animation,Easing Functions,如何使用Path向PointAnimations添加缓和功能 它没有像DoubleAnimation那样的EasingFunction属性 这是我的动画: <PointAnimationUsingPath Storyboard.TargetName="MyAnimatedEllipseGeometry" Storyboard.TargetProperty="Center" Duration="0:0:.8" RepeatBe
DoubleAnimation
那样的EasingFunction
属性
这是我的动画:
<PointAnimationUsingPath
Storyboard.TargetName="MyAnimatedEllipseGeometry"
Storyboard.TargetProperty="Center"
Duration="0:0:.8"
RepeatBehavior="Forever">
<PointAnimationUsingPath.PathGeometry>
<PathGeometry>
<PathFigure>
<BezierSegment Point1="0 0" Point2="200 -300" Point3="400 0"/>
</PathFigure>
</PathGeometry>
</PointAnimationUsingPath.PathGeometry>
</PointAnimationUsingPath>
我想添加此缓解功能:
<CubicEase EasingMode="EaseInOut"/>
有没有办法,或者我应该使用其他方法?我想使用贝塞尔曲线作为动画的路径。没有缓和功能,但可以使用AccelerationRatio和DecelerationRatio。没有看到这些属性!谢谢:)