Initializes a new instance of the class.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)

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