TerminalStoryFluent
ChartForgeX.Terminal
Hand-written fluent methods of TerminalStory that do more than set one property.
Inheritance
- object
- TerminalStoryFluent
Methods
public static TerminalStory CharactersPerSecond(TerminalStory terminalStory, double value) #Sets TerminalStory.CharactersPerSecond: Gets or sets the simulated typing speed, from 5 to 200 characters per second.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.CharactersPerSecond = value; terminalStory.CharactersPerSecond(value);public static TerminalStory Dialect(TerminalStory terminalStory, TerminalDialect dialect, string? customPrompt = null, ThemeMode themeMode = Dark, TerminalStyleOptions? style = null) #Sets the prompt dialect and optional custom prompt.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- dialect ChartForgeX.Terminal.TerminalDialect
- customPrompt string? = null
- themeMode ChartForgeX.ThemeMode = Dark
- style ChartForgeX.Terminal.TerminalStyleOptions? = null
Returns
TerminalStorypublic static TerminalStory InitialDelaySeconds(TerminalStory terminalStory, double value) #Sets TerminalStory.InitialDelaySeconds: Gets or sets the initial animation delay, from 0 to 10 seconds.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.InitialDelaySeconds = value; terminalStory.InitialDelaySeconds(value);public static TerminalStory LineDelaySeconds(TerminalStory terminalStory, double value) #Sets TerminalStory.LineDelaySeconds: Gets or sets the delay between output lines, from 0 to 3 seconds.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.LineDelaySeconds = value; terminalStory.LineDelaySeconds(value);public static TerminalStory RasterScale(TerminalStory terminalStory, int value) #Sets TerminalStory.RasterScale: Gets or sets the PNG output density multiplier, from 1 to 4.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.RasterScale = value; terminalStory.RasterScale(value);public static TerminalStory ShowFinalPrompt(TerminalStory terminalStory, bool value = true) #Sets TerminalStory.ShowFinalPrompt: Gets or sets whether the completed story shows a final prompt and cursor.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
terminalStory.ShowFinalPrompt = value; terminalStory.ShowFinalPrompt(value);public static TerminalStory Style(TerminalStory terminalStory, TerminalStyleOptions value) #Sets TerminalStory.Style: Gets the initial-tab cursor and title-bar styling.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value ChartForgeX.Terminal.TerminalStyleOptions
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.Style = value; terminalStory.Style(value);public static TerminalStory Style(TerminalStory terminalStory, Action<TerminalStyleOptions> configure) #Configures a copy of TerminalStory.Style (a new one when not set) and assigns a copy of it once the callback returns, leaving the property unchanged when the callback throws: Gets the initial-tab cursor and title-bar styling.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- configure System.Action<ChartForgeX.Terminal.TerminalStyleOptions>
- Configures the copy.
public static TerminalStory TabHoldSeconds(TerminalStory terminalStory, double value) #Sets TerminalStory.TabHoldSeconds: Gets or sets the minimum reading time (0 to 10 seconds) after new content appears and before the active tab changes.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.TabHoldSeconds = value; terminalStory.TabHoldSeconds(value);public static TerminalStory Theme(TerminalStory terminalStory, VisualTheme value) #Sets TerminalStory.Theme: Gets or sets the initial-tab terminal theme. Set it before timeline authoring.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value ChartForgeX.Themes.VisualTheme
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.Theme = value; terminalStory.Theme(value);public static TerminalStory ThemeMode(TerminalStory terminalStory, ThemeMode value) #Sets TerminalStory.ThemeMode: Gets or sets the explicit initial-tab light or dark appearance. Set it before timeline authoring.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value ChartForgeX.ThemeMode
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.ThemeMode = value; terminalStory.ThemeMode(value);public static TerminalStory Title(TerminalStory terminalStory, string value) #Sets TerminalStory.Title: Gets or sets the initial-tab title-bar text. Set it before timeline authoring.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.Title = value; terminalStory.Title(value);public static TerminalStory Width(TerminalStory terminalStory, int value) #Sets TerminalStory.Width: Gets or sets the logical SVG width, from 480 to 1800.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.Width = value; terminalStory.Width(value);public static TerminalStory WindowStyle(TerminalStory terminalStory, TerminalWindowStyle value) #Sets TerminalStory.WindowStyle: Gets or sets the visible terminal window chrome independently of colors and command syntax.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value ChartForgeX.Terminal.TerminalWindowStyle
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.WindowStyle = value; terminalStory.WindowStyle(value);public static TerminalStory WorkingDirectory(TerminalStory terminalStory, string value) #Sets TerminalStory.WorkingDirectory: Gets or sets the working directory shown in initial-tab prompts. Set it before timeline authoring.
Parameters
- terminalStory ChartForgeX.Terminal.TerminalStory
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
terminalStory.WorkingDirectory = value; terminalStory.WorkingDirectory(value);