VisualStoryAnimationOptions
ChartForgeX.Stories
Configures animated raster export for a generic visual story.
Inheritance
- object
- VisualStoryAnimationOptions
Usage
Explore 33 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 13
- Extension method VisualStoryAnimationOptions.EndHoldSeconds
- Extension method VisualStoryAnimationOptions.FramesPerSecond
- Extension method VisualStoryAnimationOptions.Loop
- Extension method VisualStoryAnimationOptions.MaximumFrames
- Extension method VisualStoryAnimationOptions.OutputScale
- Extension method VisualStoryAnimationOptions.TransitionSeconds
- Method VisualStoryAnimationOptions.Create
- Method VisualStoryAnimationOptionsFluent.EndHoldSeconds
- Method VisualStoryAnimationOptionsFluent.FramesPerSecond
- Method VisualStoryAnimationOptionsFluent.Loop
- Method VisualStoryAnimationOptionsFluent.MaximumFrames
- Method VisualStoryAnimationOptionsFluent.OutputScale
- Method VisualStoryAnimationOptionsFluent.TransitionSeconds
Accepted by parameters 20
- Extension method VisualStory.SaveApng
- Extension method VisualStory.SaveGif
- Extension method VisualStory.ToApng
- Extension method VisualStory.ToGif
- Extension method VisualStoryAnimationOptions.EndHoldSeconds
- Extension method VisualStoryAnimationOptions.FramesPerSecond
- Extension method VisualStoryAnimationOptions.Loop
- Extension method VisualStoryAnimationOptions.MaximumFrames
- Extension method VisualStoryAnimationOptions.OutputScale
- Extension method VisualStoryAnimationOptions.TransitionSeconds
- Method VisualStoryAnimationOptionsFluent.EndHoldSeconds
- Method VisualStoryAnimationOptionsFluent.FramesPerSecond
- Method VisualStoryAnimationOptionsFluent.Loop
- Method VisualStoryAnimationOptionsFluent.MaximumFrames
- Method VisualStoryAnimationOptionsFluent.OutputScale
- Method VisualStoryAnimationOptionsFluent.TransitionSeconds
- Method VisualStoryExtensions.SaveApng
- Method VisualStoryExtensions.SaveGif
- Method VisualStoryExtensions.ToApng
- Method VisualStoryExtensions.ToGif
Constructors
public VisualStoryAnimationOptions() #Methods
public static VisualStoryAnimationOptions Create() #Creates options with documentation and Discord-friendly defaults.
Returns
VisualStoryAnimationOptionsInherited Methods
Properties
public int FramesPerSecond { get; set; } #Gets or sets the requested frame rate, from 2 to 30.
public bool Loop { get; set; } #Gets or sets whether the animation repeats.
public double EndHoldSeconds { get; set; } #Gets or sets how long the completed scene remains visible, from 0 to 10 seconds.
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 maximum sampled frame count, from 2 to 600; export produces frames one at a time.
public double TransitionSeconds { get; set; } #Gets or sets the cross-fade duration between scenes, from 0 to 1 second.
Extension Methods
public static VisualStoryAnimationOptions EndHoldSeconds(VisualStoryAnimationOptions visualStoryAnimationOptions, double value) #Sets VisualStoryAnimationOptions.EndHoldSeconds: Gets or sets how long the completed scene remains visible, from 0 to 10 seconds.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { EndHoldSeconds = value }; visualStoryAnimationOptions.EndHoldSeconds(value);public static VisualStoryAnimationOptions FramesPerSecond(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #Sets VisualStoryAnimationOptions.FramesPerSecond: Gets or sets the requested frame rate, from 2 to 30.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { FramesPerSecond = value }; visualStoryAnimationOptions.FramesPerSecond(value);public static VisualStoryAnimationOptions Loop(VisualStoryAnimationOptions visualStoryAnimationOptions, bool value = true) #Sets VisualStoryAnimationOptions.Loop: Gets or sets whether the animation repeats.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { Loop = value }; visualStoryAnimationOptions.Loop(value);public static VisualStoryAnimationOptions MaximumFrames(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #Sets VisualStoryAnimationOptions.MaximumFrames: Gets or sets the maximum sampled frame count, from 2 to 600; export produces frames one at a time.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { MaximumFrames = value }; visualStoryAnimationOptions.MaximumFrames(value);public static VisualStoryAnimationOptions OutputScale(VisualStoryAnimationOptions visualStoryAnimationOptions, int value) #Sets VisualStoryAnimationOptions.OutputScale: Gets or sets the raster output density multiplier, from 1 to 4.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { OutputScale = value }; visualStoryAnimationOptions.OutputScale(value);public static VisualStoryAnimationOptions TransitionSeconds(VisualStoryAnimationOptions visualStoryAnimationOptions, double value) #Sets VisualStoryAnimationOptions.TransitionSeconds: Gets or sets the cross-fade duration between scenes, from 0 to 1 second.
Parameters
- visualStoryAnimationOptions ChartForgeX.Stories.VisualStoryAnimationOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Stories.VisualStoryAnimationOptions { TransitionSeconds = value }; visualStoryAnimationOptions.TransitionSeconds(value);