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.Double
The hue. |
Luminance
Gets or sets the luminance.
Declaration
public double Luminance { get; set; }
Property Value
System.Double
The luminance. |
Saturation
Gets or sets the saturation.
Declaration
public double Saturation { get; set; }
Property Value
System.Double
The saturation. |
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
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
HslColor
color1
The color1. |
HslColor
color2
The color2. |
Returns
System.Boolean
The result of the operator. |
Inequality(HslColor, HslColor)
Implements the operator !=.
Declaration
public static bool operator !=(HslColor color1, HslColor color2)
Parameters
HslColor
color1
The color1. |
HslColor
color2
The color2. |
Returns
System.Boolean
The result of the operator. |