// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Storyboards { /// /// A that ends at a different time than its start time. /// public interface IStoryboardElementWithDuration : IStoryboardElement { /// /// The time at which the ends. /// This is consumed to extend the length of a storyboard to ensure all visuals are played to completion. /// double EndTime { get; } /// /// The time this element displays until. /// This is used for lifetime purposes, and includes long playing animations which don't necessarily extend /// a storyboard's play time. /// double EndTimeForDisplay { get; } /// /// The duration of the StoryboardElement. /// double Duration => EndTime - StartTime; } }