Class HslColor
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public sealed class HslColor : ValueType
Properties
Hue
Gets or sets the hue.
Declaration
public double Hue { get; set; }
Property Value
System. The hue. |
Luminance
Gets or sets the luminance.
Declaration
public double Luminance { get; set; }
Property Value
System. The luminance. |
Saturation
Gets or sets the saturation.
Declaration
public double Saturation { get; set; }
Property Value
System. The saturation. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System.
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Operators
Equality(HslColor, HslColor)
Implements the operator ==.
Declaration
public static bool operator ==(HslColor color1, HslColor color2)
Parameters
Returns
System. The result of the operator. |
Inequality(HslColor, HslColor)
Implements the operator !=.
Declaration
public static bool operator !=(HslColor color1, HslColor color2)
Parameters
Returns
System. The result of the operator. |