HslColorFromHsl Method
Creates a new
HslColor from individual color component values.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static HslColor FromHsl(
double h,
double s,
double l
)
Public Shared Function FromHsl (
h As Double,
s As Double,
l As Double
) As HslColor
static member FromHsl :
h : float *
s : float *
l : float -> HslColor
- h Double
- The Hue component in the range from 0..360.
- s Double
- The Saturation component in the range from 0..1.
- l Double
- The Lightness component in the range from 0..1.
HslColorA new
HslColor built from the individual color component values.
This exists for symmetry with the
Color struct; however, the
appropriate constructor should commonly be used instead.