Color.FromHsla
Color.FromHsla method
返回具有请求的色调、饱和度、饱和度、alpha 值的新颜色。
public static Color FromHsla(float hue, float saturation, float lightness, float alpha)
| 范围 | 类型 | 描述 |
|---|---|---|
| hue | Single | 表示颜色的色调分量的浮点数。 |
| saturation | Single | 表示颜色饱和度分量的浮点数。 |
| lightness | Single | 表示颜色亮度分量的浮点数。 |
| alpha | Single | 表示颜色的 alpha 分量的浮点数。 |
返回值
的一个新实例Color班级
也可以看看
- class Color
- 命名空间 Aspose.Html.Drawing
- 部件 Aspose.HTML