ColorRange

ColorRange class

Represents a range of colors. Specifies ranges using HSB representation of RGB color.

public class ColorRange

Constructors

Name Description
ColorRange() Initializes a new instance of the ColorRange class.
ColorRange(Color) Initializes a new instance of the ColorRange class with a specified exact color.

Properties

Name Description
IsEmpty { get; set; } Gets or sets a value indicating whether only the empty color is in range.
MaxBrightness { get; set; } Gets or sets the ending brightness value.
MaxHue { get; set; } Gets or sets the ending hue value, in degrees.
MaxSaturation { get; set; } Gets or sets the ending saturation value.
MinBrightness { get; set; } Gets or sets the starting brightness value.
MinHue { get; set; } Gets or sets the starting hue value, in degrees.
MinSaturation { get; set; } Gets or sets the starting saturation value.

See Also