Constructor Color
- Namespace
- MigraDoc.DocumentObjectModel
- Assembly
- MigraDoc.DocumentObjectModel.dll
Color(uint)
Initializes a new instance of the Color class.
public Color(uint argb)
Parameters
argbuint
Color(byte, byte, byte)
Initializes a new instance of the Color class.
public Color(byte r, byte g, byte b)
Parameters
rbytegbytebbyte
Color(byte, byte, byte, byte)
Initializes a new instance of the Color class.
public Color(byte a, byte r, byte g, byte b)
Parameters
abyterbytegbytebbyte
Color(double, double, double, double, double)
Initializes a new instance of the Color class with a CMYK color. All values must be in the range 0 to 100 percent.
public Color(double alpha, double cyan, double magenta, double yellow, double black)
Parameters
alphadoublecyandoublemagentadoubleyellowdoubleblackdouble
Color(double, double, double, double)
Initializes a new instance of the Color class with a CMYK color. All values must be in the range 0 to 100 percent.
public Color(double cyan, double magenta, double yellow, double black)
Parameters
cyandoublemagentadoubleyellowdoubleblackdouble