Class PngSinkOptions
Immutable options used by PngSink and PngRenderer to size and style a
rendered PNG image.
public sealed class PngSinkOptions
- Inheritance
-
PngSinkOptions
- Inherited Members
Properties
Chrome
Whether to render only terminal content or include TigerCli window chrome.
public PngWindowChrome Chrome { get; init; }
Property Value
Columns
The number of terminal text columns to render. Must be positive.
public required int Columns { get; init; }
Property Value
DefaultForeground
Default foreground colour used when a text segment has no explicit foreground.
public CliColor DefaultForeground { get; init; }
Property Value
FrameColor
The frame colour used when window chrome is enabled.
public CliColor FrameColor { get; init; }
Property Value
OverflowMode
public PngOverflowMode OverflowMode { get; init; }
Property Value
Rows
The number of terminal text rows to render. Must be positive.
public required int Rows { get; init; }
Property Value
TerminalBackground
The background colour of the terminal content area.
public CliColor TerminalBackground { get; init; }
Property Value
TerminalFont
The monospace font used for terminal cells.
public PngFontSource TerminalFont { get; init; }
Property Value
TerminalFontSize
The terminal font size in pixels. Must be positive.
public float TerminalFontSize { get; init; }
Property Value
Title
Optional title displayed in the title bar when Chrome is
FrameAndTitle. Control characters are sanitized before rendering.
public string? Title { get; init; }
Property Value
TitleBackground
The background colour of the title bar.
public CliColor TitleBackground { get; init; }
Property Value
TitleBarIcon
The title-bar icon source. Use None to suppress it.
public PngTitleBarIcon TitleBarIcon { get; init; }
Property Value
TitleBarSymbols
The title-bar window-control symbol source. Use None to suppress it.
public PngTitleBarSymbols TitleBarSymbols { get; init; }
Property Value
TitleFont
The font used for the title bar.
public PngFontSource TitleFont { get; init; }
Property Value
TitleFontSize
The title-bar font size in pixels. Must be positive.
public float TitleFontSize { get; init; }
Property Value
TitleForeground
The foreground colour of title-bar text and symbols.
public CliColor TitleForeground { get; init; }