# HtmlChartHighlightStyleFluent

The fluent methods of HtmlChartHighlightStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Modifiers**

static

The fluent methods of [HtmlChartHighlightStyle](/api/chartforgex-interactivity-html-htmlcharthighlightstyle/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- HtmlChartHighlightStyleFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static HtmlChartHighlightStyle Opacity(HtmlChartHighlightStyle htmlChartHighlightStyle, double? value)` [#](#method-opacity-chartforgex-interactivity-html-htmlcharthighlightstyle-nullable-system-double) 

Sets [HtmlChartHighlightStyle.Opacity](/api/chartforgex-interactivity-html-htmlcharthighlightstyle/): Gets or sets the transient opacity, from zero through one. Zero keeps the native mark available for pointer and keyboard acquisition; authored or host-hidden marks stay unavailable. Selection retains its existing full-strength emphasis.

Parameters

**htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required**

The instance.

**value double? required**

The value.

Returns

 `HtmlChartHighlightStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { Opacity = value };    htmlChartHighlightStyle.Opacity(value);
```

 `public static HtmlChartHighlightStyle Stroke(HtmlChartHighlightStyle htmlChartHighlightStyle, ChartColor? value)` [#](#method-stroke-chartforgex-interactivity-html-htmlcharthighlightstyle-nullable-chartforgex-primitives-chartcolor) 

Sets [HtmlChartHighlightStyle.Stroke](/api/chartforgex-interactivity-html-htmlcharthighlightstyle/): Gets or sets the additional outline color. Null retains the preceding color; a fully transparent color explicitly hides the outline. Native fill, hatch and stroke remain intact.

Parameters

**htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required**

The instance.

**value ChartForgeX.Primitives.ChartColor? required**

The value.

Returns

 `HtmlChartHighlightStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                             // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { Stroke = value };    htmlChartHighlightStyle.Stroke(value);
```

 `public static HtmlChartHighlightStyle StrokeWidth(HtmlChartHighlightStyle htmlChartHighlightStyle, double? value)` [#](#method-strokewidth-chartforgex-interactivity-html-htmlcharthighlightstyle-nullable-system-double) 

Sets [HtmlChartHighlightStyle.StrokeWidth](/api/chartforgex-interactivity-html-htmlcharthighlightstyle/): Gets or sets the outline's outward width in SVG units. Values must be finite and non-negative. Zero explicitly hides the outline. A color without a width uses 2.5 units.

Parameters

**htmlChartHighlightStyle ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle required**

The instance.

**value double? required**

The value.

Returns

 `HtmlChartHighlightStyle` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartHighlightStyle { StrokeWidth = value };    htmlChartHighlightStyle.StrokeWidth(value);
```

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from object

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

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

Inherited from object

Returns

 `string?` 

<!-- PowerForge markdown artifact sha256:59EB830FCC11D6AC4A9A5F479F36959945CE030FE5DCC50872D574A2E53C02F3 -->
