Files
ersatztv/ErsatzTV.Infrastructure/Streaming/Graphics/IGraphicsElement.cs
T
Jason DoveandGitHub 6465c416ff motion end behavior (#2431)
* add end behavior enum and properties

* support loop end behavior

* implement end behavior hold

* update changelog
2025-09-17 03:35:49 +00:00

21 lines
546 B
C#

using ErsatzTV.Core.Domain;
using ErsatzTV.Core.Interfaces.Streaming;
namespace ErsatzTV.Infrastructure.Streaming.Graphics;
public interface IGraphicsElement
{
int ZIndex { get; }
bool IsFinished { get; set; }
Task InitializeAsync(GraphicsEngineContext context, CancellationToken cancellationToken);
ValueTask<Option<PreparedElementImage>> PrepareImage(
TimeSpan timeOfDay,
TimeSpan contentTime,
TimeSpan contentTotalTime,
TimeSpan channelTime,
CancellationToken cancellationToken);
}