Click or drag to resize
Accord.NET (logo)

ColorSliderColorSliderType Enumeration

Enumeration of color slider types.

Namespace:  Accord.Controls
Assembly:  Accord.Controls.Imaging (in Accord.Controls.Imaging.dll) Version: 3.8.0
Syntax
public enum ColorSliderType
Members
  Member nameValueDescription
Gradient0 Gradient color slider type.
InnerGradient1 Inner gradient color slider type.
OuterGradient2 Outer gradient color slider type.
Threshold3 Threshold color slider type.
Remarks

The Gradient slider's type supposes the control's background filled with gradient startting from StartColor color and ending with EndColor color. The FillColor color does not have impact on control's look.

This type allows as one-arrow, as two-arrows control.

Sample control's look:

The InnerGradient slider's type supposes the control's background filled with gradient startting from StartColor color and ending with EndColor color. In addition the areas, which are outside of [Min, Max] range, are filled with FillColor color.

This type allows only two-arrows control.

Sample control's look:

The OuterGradient slider's type supposes the control's background filled with gradient startting from StartColor color and ending with EndColor color. In addition the area, which is inside of [Min, Max] range, is filled with FillColor color.

This type allows only two-arrows control.

Sample control's look:

The Threshold slider's type supposes filling areas outside of [Min, Max] range with StartColor and inside the range with EndColor. The FillColor color does not have impact on control's look.

This type allows as one-arrow, as two-arrows control.

Sample control's look:

See Also