Constructor for Color object

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public Color(
	float red,
	float green,
	float blue
)
Visual Basic
Public Sub New ( _
	red As Single, _
	green As Single, _
	blue As Single _
)
Visual C++
public:
Color(
	float red, 
	float green, 
	float blue
)

Parameters

red
Type: System..::..Single
The red component value for the new Color structure. Valid values are 0 through 1.
green
Type: System..::..Single
The green component value for the new Color structure. Valid values are 0 through 1.
blue
Type: System..::..Single
The blue component value for the new Color structure. Valid values are 0 through 1.

See Also