コード例 #1
0
 /// <summary>
 /// Smoothly adjusts <see cref="Drawable.Position"/> by an offset to its final value over time.
 /// </summary>
 /// <returns>A <see cref="TransformSequence{T}"/> to which further transforms can be added.</returns>
 public static TransformSequence <T> MoveToOffset <T>(this TransformSequence <T> t, Vector2 offset, double duration = 0, Easing easing = Easing.None)
     where T : Drawable
 => t.MoveToOffset(offset, duration, new DefaultEasingFunction(easing));