Class HsvaColor
A struct representing a color comprised of Hue, Saturation, Value and Alpha channels.
Inheritance
Namespace: Telerik.Windows.Controls.ColorEditor.ColorSchemas
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class HsvaColor : ValueType
Constructors
HsvaColor(Double, Double, Double, Double)
Initializes a new instance of the Hsva
Declaration
public HsvaColor(double hue, double saturation, double value, double alpha)
Parameters
System. The hue channel. |
System. The saturation channel. |
System. The value channel. |
System. The alpha channel. |
Properties
Alpha
Gets the alpha (opacity) channel of the Hsva
Declaration
public double Alpha { get; }
Property Value
System. The alpha channel. |
Hue
Gets the hue channel of the Hsva
Declaration
public double Hue { get; }
Property Value
System. The hue channel. |
Saturation
Gets the saturation channel of the Hsva
Declaration
public double Saturation { get; }
Property Value
System. The saturation channel. |
Value
Gets the value channel of the Hsva
Declaration
public double Value { get; }
Property Value
System. The value channel. |
Methods
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. True if the specified System. |
Equals(HsvaColor)
Compares the two instance.
Declaration
public bool Equals(HsvaColor otherInstance)
Parameters
Hsva The other instance. |
Returns
System.
|
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Operators
Equality(HsvaColor, HsvaColor)
Implements the operator ==.
Declaration
public static bool operator ==(HsvaColor instance1, HsvaColor instance2)
Parameters
Returns
System. The result of the operator. |
Inequality(HsvaColor, HsvaColor)
Implements the operator !=.
Declaration
public static bool operator !=(HsvaColor instance1, HsvaColor instance2)
Parameters
Returns
System. The result of the operator. |