ColorRangeHsl

ColorRangeHsl class

Hue2Resource has 6 color ranges where you can change HSV parameters. Every range has 4 key points to identify range borders. And it’s ColorRangeHsl

public class ColorRangeHsl

Constructors

Name Description
ColorRangeHsl() Initializes a new instance of the ColorRangeHsl class.
ColorRangeHsl(byte[]) Initializes a new instance of the ColorRangeHsl class.

Properties

Name Description
Hue { get; set; } Gets or sets the hue.
LeftBorder { get; set; } Gets or sets the left border.
Lightness { get; set; } Gets or sets the lightness.
MostLeftBorder { get; set; } Gets or sets the most left border.
MostRightBorder { get; set; } Gets or sets the most right border.
RightBorder { get; set; } Gets or sets the right border.
Saturation { get; set; } Gets or sets the saturation.

Methods

Name Description
GetRangeCoefficient(double) Gets the range Coefficient.
IsHueInBigRange(double) Determines whether is hue in big range.
IsHueInSmallRange(double) Determines whether hue in small range.
Save(StreamContainer) Saves data to the specified stream container.

See Also