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 gray
)
Public Sub New ( 
	gray As Single
)
public:
PdfRGBColor(
	float gray
)
new : 
        gray : float32 -> PdfRGBColor

Parameters

gray
Single
Gray value.

See Also