HslColor Structure

Visual Studio 2015
 

Namespace:   Microsoft.VisualStudio.Imaging
Assembly:  Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)

public value struct HslColor

NameDescription
System_CAPS_pubmethodHslColor(Double, Double, Double)

Initializes a new instance of the HslColor class with the specified hue, saturation, and luminosity.

System_CAPS_pubmethodHslColor(Double, Double, Double, Double)

Initializes a new instance of the HslColor class with the specified hue, saturation, luminosity, and alpha.

NameDescription
System_CAPS_pubpropertyAlpha

Gets or sets the HslColor's Alpha component.

System_CAPS_pubpropertyHue

Gets or sets the HslColor's Hue component

System_CAPS_pubpropertyLuminosity

Gets or sets the HslColor's Luminosity component

System_CAPS_pubpropertySaturation

Gets or sets the HslColor's Saturation component.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from ValueType.)

System_CAPS_pubmethodSystem_CAPS_staticFromColor(Color)

Converts a Color value to an HslColor. The algorithm is based on pseudocode available on HSL and HSV.

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToColor()

Converts an HslColor value to a Color. The algorithm is based on pseudocode available on HSL and HSV. </summary>

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: