Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/wpf/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wpf 使用路径向点动画添加缓和函数_Wpf_Animation_Easing Functions - Fatal编程技术网

Wpf 使用路径向点动画添加缓和函数

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

如何使用Path向PointAnimations添加缓和功能

它没有像
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。没有看到这些属性!谢谢:)