Creates a fully opaque Color from the specified floating-point
color values. The number of values determines the color space - one
for grayscale, three for RGB and four for CMYK.
Syntax
[C#]
static Color FromComponents(double[] components);
[Visual Basic]
Shared Function FromComponents(components As Double()) As Color
Params
Name
Description
components
The color components. Valid values are 0 through 1.