Skip to content
ChartForgeX
Struct

ChartFlowStyle

ChartForgeX.Core

Namespace
ChartForgeX.Core
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

Immutable paint overrides for one authored Sankey or Chord flow, independent of its weight and endpoints.

Inheritance

  • ValueType
  • ChartFlowStyle

Usage

Explore 2 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 1

Accepted by parameters 1

Constructors

public ChartFlowStyle(ChartColor? fill = null, double? fillOpacity = null, ChartFillPattern? fillPattern = null, ChartColor? stroke = null, double? strokeWidth = null, double? strokeOpacity = null, ChartStrokeStyle? outlineStroke = null, double strokeDashOffset = 0) #

Creates validated flow paint overrides. Unspecified values retain the existing rendering defaults.

Parameters

fill ChartForgeX.Primitives.ChartColor? = null optional
Explicit flow fill, taking precedence over selected-endpoint, family, series, quantitative and semantic colors.
fillOpacity double? = null optional
Optional fill alpha multiplier from zero to one.
fillPattern ChartForgeX.Core.ChartFillPattern? = null optional
Optional pattern; None disables an inherited pattern.
stroke ChartForgeX.Primitives.ChartColor? = null optional
Optional outline color; without a width it enables a one-unit outline.
strokeWidth double? = null optional
Optional non-negative outline width; zero disables the outline.
strokeOpacity double? = null optional
Optional outline alpha multiplier from zero to one.
outlineStroke ChartForgeX.Core.ChartStrokeStyle? = null optional
Optional immutable outline policy; specifies dash lengths without changing weighted geometry.
strokeDashOffset double = 0 optional
Finite logical phase of the outline dash pattern.

Properties

public ChartColor? Fill { get; } #

Gets the explicit fill. Null inherits the selected endpoint, family, series, quantitative, semantic-state or palette paint.

public double? FillOpacity { get; } #

Gets the fill opacity multiplier from zero to one. Null inherits the family's ribbon opacity.

public ChartFillPattern? FillPattern { get; } #

Gets the flow pattern override. Null inherits the selected endpoint or series pattern; None explicitly disables it.

public ChartColor? Stroke { get; } #

Gets the explicit outline color. Setting it enables a one-unit outline unless StrokeWidth overrides or disables it.

public double? StrokeWidth { get; } #

Gets the non-negative outline width in logical units. Zero disables the outline; a positive width enables it with Stroke or the resolved flow color.

public double? StrokeOpacity { get; } #

Gets the outline opacity multiplier from zero to one. Null uses one; opacity alone does not enable an outline.

public ChartStrokeStyle? OutlineStroke { get; } #

Gets an immutable outline policy, including dash lengths. Its specified color/width and opacity override the corresponding legacy outline fields.

public double StrokeDashOffset { get; } #

Gets the finite logical phase applied to the outline's dash pattern. The default is zero.