Constructor PdfColor

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

PdfColor(double, double, double)

Creates a colour from components between 0 and 1.

public PdfColor(double r, double g, double b)

Parameters

r double

Red, 0–1.

g double

Green, 0–1.

b double

Blue, 0–1.

Exceptions

ArgumentOutOfRangeException

A component is outside 0–1.