ColorHSL Constructor (Double, Double, Double, Double) |
Constructs a new instance of ColorHSL with custom channel values.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic ColorHSL(
double alpha,
double hue,
double saturation,
double luminance
)
Public Sub New (
alpha As Double,
hue As Double,
saturation As Double,
luminance As Double
)
Parameters
- alpha
- Type: SystemDouble
Alpha channel value. Channel will be limited to 0~1. - hue
- Type: SystemDouble
Hue channel value. Hue channels rotate between 0.0 and 1.0. - saturation
- Type: SystemDouble
Saturation channel value. Channel will be limited to 0~1. - luminance
- Type: SystemDouble
Luminance channel value. Channel will be limited to 0~1.
See Also