Files
ersatztv/ErsatzTV.Core/Interfaces/Streaming/IGraphicsElement.cs
T
Jason DoveandGitHub a2fc99229e add watermark opacity expression (#2266)
* add watermark opacity expression

* implement watermark opacity expression parameters

* minor fixes
2025-08-06 18:26:44 +00:00

17 lines
420 B
C#

using ErsatzTV.Core.Domain;
namespace ErsatzTV.Core.Interfaces.Streaming;
public interface IGraphicsElement
{
bool IsFailed { get; set; }
Task InitializeAsync(Resolution frameSize, int frameRate, CancellationToken cancellationToken);
void Draw(
object context,
TimeSpan timeOfDay,
TimeSpan contentTime,
TimeSpan channelTime,
CancellationToken cancellationToken);
}