Skip to content
ChartForgeX
Class

VisualRenderContext

ChartForgeX.Rendering

Namespace
ChartForgeX.Rendering
Assembly
ChartForgeX
Modifiers
sealed

A complete immutable request for shared static rendering.

Inheritance

  • object
  • VisualRenderContext

Usage

Explore 25 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.

Accepted by parameters 25

Constructors

public VisualRenderContext(VisualLayoutOptions? layout = null, VisualTheme? theme = null, ThemeMode themeMode = Light, VisualFrame? frame = null, FontSpec? font = null) #

Creates a context with the canonical paired palette and Graphite geometry by default.

Parameters

layout ChartForgeX.Rendering.VisualLayoutOptions? = null optional
theme ChartForgeX.Themes.VisualTheme? = null optional
themeMode ChartForgeX.ThemeMode = Light optional
frame ChartForgeX.Rendering.VisualFrame? = null optional
font ChartForgeX.Typography.FontSpec? = null optional

Properties

public VisualLayoutOptions Layout { get; } #

Gets the resolved layout.

public VisualTheme Theme { get; } #

Gets the paired theme.

public ThemeMode ThemeMode { get; } #

Gets the selected palette mode. Static rendering resolves ThemeMode.Auto to ThemeMode.Light.

public VisualFrame Frame { get; } #

Gets the common frame.

public FontSpec Font { get; } #

Gets an independent copy of the font request.