コード例 #1
0
 /// <summary>
 /// Smoothly adjusts <see cref="Drawable.Alpha"/> over time.
 /// </summary>
 /// <returns>A <see cref="TransformSequence{T}"/> to which further transforms can be added.</returns>
 public static TransformSequence <T> FadeTo <T>(this TransformSequence <T> t, float newAlpha, double duration = 0, Easing easing = Easing.None)
     where T : Drawable
 => t.FadeTo(newAlpha, duration, new DefaultEasingFunction(easing));