Color.FromHsla 方法

定义

重载

FromHsla(Double, Double, Double, Double)
FromHsla(Single, Single, Single, Single)

FromHsla(Double, Double, Double, Double)

public static Microsoft.Maui.Graphics.Color FromHsla (double h, double s, double l, double a = 1);
static member FromHsla : double * double * double * double -> Microsoft.Maui.Graphics.Color
Public Shared Function FromHsla (h As Double, s As Double, l As Double, Optional a As Double = 1) As Color

参数

h
Double
s
Double
l
Double
a
Double

返回

适用于

FromHsla(Single, Single, Single, Single)

public static Microsoft.Maui.Graphics.Color FromHsla (float h, float s, float l, float a = 1);
static member FromHsla : single * single * single * single -> Microsoft.Maui.Graphics.Color
Public Shared Function FromHsla (h As Single, s As Single, l As Single, Optional a As Single = 1) As Color

参数

h
Single
s
Single
l
Single
a
Single

返回

适用于