HslColor.ToColor Method

Definition

Converts an HslColor value to a Color. The algorithm was written based on pseudocode available on http://en.wikipedia.org/wiki/HSL_and_HSV.

public:
 System::Windows::Media::Color ToColor();
public System.Windows.Media.Color ToColor ();
member this.ToColor : unit -> System.Windows.Media.Color
Public Function ToColor () As Color

Returns

The converted color

Applies to