Color Constructor (Double)

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Initializes a new instance of the Color class.

Namespace:  Apitron.PDF.Kit.Styles
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public Color(
	double[] components
)

Parameters

components
Type: SystemDouble
The components, color space name will be inferred from the number of array elements. 0: transparent, 1: GRAY, 3: RGB, 4: CMYK.
Exceptions

ExceptionCondition
ArgumentExceptionIf given number of color components is not supported.
See Also

Reference