IAnimator.cs 599 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Avalonia.Animation
  4. {
  5. /// <summary>
  6. /// Interface for Animator objects
  7. /// </summary>
  8. public interface IAnimator : IList<AnimatorKeyFrame>
  9. {
  10. /// <summary>
  11. /// The target property.
  12. /// </summary>
  13. AvaloniaProperty Property {get; set;}
  14. /// <summary>
  15. /// Applies the current KeyFrame group to the specified control.
  16. /// </summary>
  17. IDisposable Apply(Animation animation, Animatable control, IClock clock, IObservable<bool> match, Action onComplete);
  18. }
  19. }