Color.FromHsla 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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