tangxu
2024-10-23 6a9aa8b628ace581657972a2e502ceb9a58b2395
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#region Imports
 
using System.Drawing;
 
#endregion
 
namespace DPumpHydr.WinFrmUI.RLT.Animate.Metro
{
    #region PointFAnimateAnimate
 
    public class PointFAnimate : Animate<PointF>
    {
        public override PointF Value => new
        (
            (float)Interpolation.ValueAt(InitialValue.X, EndValue.X, Alpha, EasingType),
            (float)Interpolation.ValueAt(InitialValue.Y, EndValue.Y, Alpha, EasingType)
        );
    }
 
    #endregion
}