Partilhar via


HslColor Constructors

Definition

Overloads

HslColor(Double, Double, Double)

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

HslColor(Double, Double, Double, Double)

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

HslColor(Double, Double, Double)

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

public:
 HslColor(double hue, double saturation, double luminosity);
public:
 HslColor(double hue, double saturation, double luminosity);
 HslColor(double hue, double saturation, double luminosity);
public HslColor (double hue, double saturation, double luminosity);
new Microsoft.VisualStudio.Imaging.HslColor : double * double * double -> Microsoft.VisualStudio.Imaging.HslColor
Public Sub New (hue As Double, saturation As Double, luminosity As Double)

Parameters

hue
Double

The hue.

saturation
Double

Ths saturation.

luminosity
Double

The luminosity.

Applies to

HslColor(Double, Double, Double, Double)

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

public:
 HslColor(double hue, double saturation, double luminosity, double alpha);
public:
 HslColor(double hue, double saturation, double luminosity, double alpha);
 HslColor(double hue, double saturation, double luminosity, double alpha);
public HslColor (double hue, double saturation, double luminosity, double alpha);
new Microsoft.VisualStudio.Imaging.HslColor : double * double * double * double -> Microsoft.VisualStudio.Imaging.HslColor
Public Sub New (hue As Double, saturation As Double, luminosity As Double, alpha As Double)

Parameters

hue
Double

The hue.

saturation
Double

The saturation.

luminosity
Double

The luminosity.

alpha
Double

The alpha.

Applies to