0

如何向我的 PointAnimationUsingPath 添加缓动函数?

它没有EasingFunction像拥有的财产DoubleAnimation

这是我的动画:

<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"/>

有没有办法做到这一点,或者我应该使用其他方法?我确切地说我想使用贝塞尔曲线作为动画的路径。

4

0 回答 0