Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public PdfRGBColor(
	float cyan,
	float magenta,
	float yellow,
	float black
)
Public Sub New ( 
	cyan As Single,
	magenta As Single,
	yellow As Single,
	black As Single
)
public:
PdfRGBColor(
	float cyan, 
	float magenta, 
	float yellow, 
	float black
)
new : 
        cyan : float32 * 
        magenta : float32 * 
        yellow : float32 * 
        black : float32 -> PdfRGBColor

Parameters

cyan
Single
Cyan channel value.
magenta
Single
Magenta channel value.
yellow
Single
Yellow channel value.
black
Single
Black channel value.

See Also