XColor Constructor.
Syntax

[C#]

XColor();
XColor(double gray);
XColor(double red, double green, double blue);
XColor(double cyan, double magenta, double yellow, double black);
XColor(Color inColor);
XColor(XColor inColor);

[Visual Basic]

Sub New()
Sub New(gray As Double)
Sub New(red As Double, green As Double, blue As Double)
Sub New(cyan As Double, magenta As Double, yellow As Double, black As Double)
Sub New(inColor As Color)
Sub New(inColor As XColor)
Params
Name Description
gray The color gray component (0 to 255).
red The color red component (0 to 255).
green The color green component (0 to 255).
blue The color blue component (0 to 255).
cyan The color red component (0 to 255).
magenta The color green component (0 to 255).
yellow The color blue component (0 to 255).
black The color blue component (0 to 255).
inColor The System.Drawing.Color for initializing this XColor.
Notes

Create a new color. Depending on which parameters are passed into the constructor, the ColorSpace will be set accordingly.

If no color is specified on construction, it defaults to RGB black (0,0,0)

.
Example

None.