TerminalStoryAnimationOptions
ChartForgeX.Terminal
Configures animated raster export for a terminal story.
Inheritance
- object
- TerminalStoryAnimationOptions
Usage
Explore 29 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Extension method TerminalStoryAnimationOptions.EndHoldSeconds
- Extension method TerminalStoryAnimationOptions.FramesPerSecond
- Extension method TerminalStoryAnimationOptions.Loop
- Extension method TerminalStoryAnimationOptions.MaximumFrames
- Extension method TerminalStoryAnimationOptions.OutputScale
- Method TerminalStoryAnimationOptions.Create
- Method TerminalStoryAnimationOptionsFluent.EndHoldSeconds
- Method TerminalStoryAnimationOptionsFluent.FramesPerSecond
- Method TerminalStoryAnimationOptionsFluent.Loop
- Method TerminalStoryAnimationOptionsFluent.MaximumFrames
- Method TerminalStoryAnimationOptionsFluent.OutputScale
Accepted by parameters 18
- Extension method TerminalStory.SaveApng
- Extension method TerminalStory.SaveGif
- Extension method TerminalStory.ToApng
- Extension method TerminalStory.ToGif
- Extension method TerminalStoryAnimationOptions.EndHoldSeconds
- Extension method TerminalStoryAnimationOptions.FramesPerSecond
- Extension method TerminalStoryAnimationOptions.Loop
- Extension method TerminalStoryAnimationOptions.MaximumFrames
- Extension method TerminalStoryAnimationOptions.OutputScale
- Method TerminalStoryAnimationOptionsFluent.EndHoldSeconds
- Method TerminalStoryAnimationOptionsFluent.FramesPerSecond
- Method TerminalStoryAnimationOptionsFluent.Loop
- Method TerminalStoryAnimationOptionsFluent.MaximumFrames
- Method TerminalStoryAnimationOptionsFluent.OutputScale
- Method TerminalStoryExtensions.SaveApng
- Method TerminalStoryExtensions.SaveGif
- Method TerminalStoryExtensions.ToApng
- Method TerminalStoryExtensions.ToGif
Constructors
public TerminalStoryAnimationOptions() #Methods
public static TerminalStoryAnimationOptions Create() #Creates animation options with Discord-friendly defaults.
Inherited Methods
Properties
public int FramesPerSecond { get; set; } #Gets or sets the maximum sampling frame rate, from 2 to 30. GIF and APNG round the regular interval up to a whole centisecond.
public bool Loop { get; set; } #Gets or sets whether the animation repeats.
public double EndHoldSeconds { get; set; } #Gets or sets the completed-state hold time (0 to 10 seconds) before the animation repeats or ends, measured from the first completed sample.
public int OutputScale { get; set; } #Gets or sets the raster output density multiplier, from 1 to 4.
public int MaximumFrames { get; set; } #Gets or sets the frame budget used to bound memory and file size, from 2 to 600.
Extension Methods
public static TerminalStoryAnimationOptions EndHoldSeconds(TerminalStoryAnimationOptions terminalStoryAnimationOptions, double value) #Sets TerminalStoryAnimationOptions.EndHoldSeconds: Gets or sets the completed-state hold time (0 to 10 seconds) before the animation repeats or ends, measured from the first completed sample.
Parameters
- terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { EndHoldSeconds = value }; terminalStoryAnimationOptions.EndHoldSeconds(value);public static TerminalStoryAnimationOptions FramesPerSecond(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value) #Sets TerminalStoryAnimationOptions.FramesPerSecond: Gets or sets the maximum sampling frame rate, from 2 to 30. GIF and APNG round the regular interval up to a whole centisecond.
Parameters
- terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { FramesPerSecond = value }; terminalStoryAnimationOptions.FramesPerSecond(value);public static TerminalStoryAnimationOptions Loop(TerminalStoryAnimationOptions terminalStoryAnimationOptions, bool value = true) #Sets TerminalStoryAnimationOptions.Loop: Gets or sets whether the animation repeats.
Parameters
- terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { Loop = value }; terminalStoryAnimationOptions.Loop(value);public static TerminalStoryAnimationOptions MaximumFrames(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value) #Sets TerminalStoryAnimationOptions.MaximumFrames: Gets or sets the frame budget used to bound memory and file size, from 2 to 600.
Parameters
- terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { MaximumFrames = value }; terminalStoryAnimationOptions.MaximumFrames(value);public static TerminalStoryAnimationOptions OutputScale(TerminalStoryAnimationOptions terminalStoryAnimationOptions, int value) #Sets TerminalStoryAnimationOptions.OutputScale: Gets or sets the raster output density multiplier, from 1 to 4.
Parameters
- terminalStoryAnimationOptions ChartForgeX.Terminal.TerminalStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Terminal.TerminalStoryAnimationOptions { OutputScale = value }; terminalStoryAnimationOptions.OutputScale(value);