public void Cancel() { ReleaseDisplayLink(); IsRunning = false; AnimationCancel?.Invoke(this, EventArgs.Empty); }
public void Cancel() { _valueAnimator?.Cancel(); _coreAnimation?.Cancel(); AnimationCancel?.Invoke(this, EventArgs.Empty); ReleaseCoreAnimation(); }
public void Cancel() { IsRunning = false; _scheduledFrame.Disposable = null; _watch.Reset(); AnimationCancel?.Invoke(this, EventArgs.Empty); }
/// <inheritdoc /> public void Cancel() { CheckDisposed(); IsRunning = false; _elapsed.Stop(); DisableFrameReporting(); AnimationCancel?.Invoke(this, EventArgs.Empty); }
/// <inheritdoc /> public void Cancel() { if (_isDisposed) { return; } IsRunning = false; _elapsed.Stop(); DisableFrameReporting(); AnimationCancel?.Invoke(this, EventArgs.Empty); }
public void OnAnimationCancel(Animator animation) { AnimationCancel?.Invoke(Context, new AnimatorEventArgs(animation)); }
/// <summary> /// Cancel this instance. /// </summary> public void Cancel() { AnimationCancel?.Invoke(this, EventArgs.Empty); }