StructHlsaColor
Struct
A struct representing a color comprised of Hue, Luminance, Saturation and Alpha channels.
Definition
Namespace:Telerik.Windows.Controls.ColorEditor.ColorSchemas
Assembly:Telerik.Windows.Controls.dll
Syntax:
cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Hlsa")]
public struct HlsaColor
Inherited Members
Constructors
HlsaColor(double, double, double, double)
Initializes a new instance of the HlsaColor struct.
Properties
Luminance
Gets the luminance channel of the HlsaColor instance.
Declaration
cs-api-definition
public double Luminance { get; }
Property Value
The luminance channel.
Saturation
Gets the saturation channel of the HlsaColor instance.
Declaration
cs-api-definition
public double Saturation { get; }
Property Value
The saturation channel.
Methods
Equals(HlsaColor)
Compares the two instances.
GetHashCode()
Serves as a hash function for a particular type.
Operators
operator !=(HlsaColor, HlsaColor)
Implements the operator !=.
operator ==(HlsaColor, HlsaColor)
Implements the operator ==.