Animations\AnimationLerpingExtensions.cs (9)
13 var r = Lerp(color.Red, endColor.Red, progress);
14 var b = Lerp(color.Blue, endColor.Blue, progress);
15 var g = Lerp(color.Green, endColor.Green, progress);
16 var a = Lerp(color.Alpha, endColor.Alpha, progress);
21 new SizeF(start.Width.Lerp(end.Width, progress), start.Height.Lerp(end.Height, progress));
24 new PointF(start.X.Lerp(end.X, progress), start.Y.Lerp(end.Y, progress));
46 => start.HasValue && end.HasValue ? start.Value.Lerp(end.Value, progress) : start.GenericLerp(end, progress);