# ChartFlowStyle

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

 Struct  

`ChartForgeX.Core`

**Namespace**

`ChartForgeX.Core`

**Assembly**

`ChartForgeX`

**Source**

[ChartFlowStyle.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L46)

**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

- Property [ChartSeries.FlowStyles](/api/chartforgex-core-chartseries/#property-flowstyles)

### Accepted by parameters 1

- Method [ChartSeries.FlowStyle](/api/chartforgex-core-chartseries/#method-flowstyle-string-nullable-chartforgex-core-chartflowstyle) parameter `style`

 Filter members   

    Show inherited   

 

## 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)` [#](#member-2e6bedb0b274ec1bd29482e8) 

[ChartFlowStyle.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L46)

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.

## Inherited Methods

 `public override bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from ValueType

Parameters

**obj object? required**

Returns

 `bool` 

 `public override int GetHashCode()` [#](#method-gethashcode) 

Inherited from ValueType

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public override string? ToString()` [#](#method-tostring) 

Inherited from ValueType

Returns

 `string?` 

## Properties

 `public ChartColor? Fill { get; }` [#](#property-fill) 

[ChartFlowStyle.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L8)

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

 `public double? FillOpacity { get; }` [#](#property-fillopacity) 

[ChartFlowStyle.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L12)

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

 `public ChartFillPattern? FillPattern { get; }` [#](#property-fillpattern) 

[ChartFlowStyle.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L15)

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

 `public ChartColor? Stroke { get; }` [#](#property-stroke) 

[ChartFlowStyle.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L18)

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

 `public double? StrokeWidth { get; }` [#](#property-strokewidth) 

[ChartFlowStyle.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L22)

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; }` [#](#property-strokeopacity) 

[ChartFlowStyle.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L25)

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

 `public ChartStrokeStyle? OutlineStroke { get; }` [#](#property-outlinestroke) 

[ChartFlowStyle.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L29)

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

 `public double StrokeDashOffset { get; }` [#](#property-strokedashoffset) 

[ChartFlowStyle.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Core/ChartFlowStyle.cs#L32)

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

<!-- PowerForge markdown artifact sha256:F489FD503F37199C083E1AFB5B3E39FD69830B7F9BB9603F1EE59E00A61EEE30 -->
