IAnimatedConsoleRenderable
InterfaceRepresents a console renderable that requires periodic animation updates.
Namespace:
RazorConsole.Core.Rendering.ComponentMarkupAssembly:
RazorConsole.CoreDefinition
public interface IAnimatedConsoleRenderable : IRenderableRemarks:All animations on screen share one refresh timer that runs at the shortest RefreshInterval among them, so a renderable can be rendered more often than its own interval. It must pick its frame from the current time when it renders (for example DateTime.UtcNow.Ticks / RefreshInterval.Ticks), not from how many times it has been rendered.
Properties
1| Name | Type | Description |
|---|---|---|
Other | ||
RefreshInterval | TimeSpan | Gets how often the animation's frame changes. The display refreshes at least this often while the renderable is on screen, and possibly more often when a faster animation is shown at the same time. |