Constuctor for Color object.

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

Syntax

C#
public Color(
	int red,
	int green,
	int blue,
	int alpha
)
Visual Basic
Public Sub New ( _
	red As Integer, _
	green As Integer, _
	blue As Integer, _
	alpha As Integer _
)
Visual C++
public:
Color(
	int red, 
	int green, 
	int blue, 
	int alpha
)

Parameters

red
Type: System..::..Int32
The red component value for the new Color structure. Valid values are 0 through 255.
green
Type: System..::..Int32
The green component value for the new Color structure. Valid values are 0 through 255.
blue
Type: System..::..Int32
The blue component value for the new Color structure. Valid values are 0 through 255.
alpha
Type: System..::..Int32
The transparency component value for the new Color structure. Valid values are 0 through 255.

See Also