Table of Contents

Constructor Color

Namespace
MigraDoc.DocumentObjectModel
Assembly
MigraDoc.DocumentObjectModel.dll

Color(uint)

Initializes a new instance of the Color class.

public Color(uint argb)

Parameters

argb uint

Color(byte, byte, byte)

Initializes a new instance of the Color class.

public Color(byte r, byte g, byte b)

Parameters

r byte
g byte
b byte

Color(byte, byte, byte, byte)

Initializes a new instance of the Color class.

public Color(byte a, byte r, byte g, byte b)

Parameters

a byte
r byte
g byte
b byte

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

alpha double
cyan double
magenta double
yellow double
black double

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

cyan double
magenta double
yellow double
black double