Constructor PdfRgbColor
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfRgbColor(int, int, int)
Initializes a new instance of the PdfRgbColor class.
public PdfRgbColor(int red, int green, int blue)
Parameters
red
intThe red component value.
green
intThe green component value.
blue
intThe blue component value.
Remarks
Each component value must be a number between 0 (minimum intensity) and 255 (maximum intensity).
PdfRgbColor(int)
Initializes a new instance of the PdfRgbColor class.
public PdfRgbColor(int argb)
Parameters
argb
intA value specifying the 32-bit ARGB value.
PdfRgbColor(PdfColorProfile, int)
Initializes a new instance of the PdfRgbColor class.
public PdfRgbColor(PdfColorProfile colorProfile, int argb)
Parameters
colorProfile
PdfColorProfileThe ICC color profile for RGB color space.
argb
intA value specifying the 32-bit ARGB value.
PdfRgbColor(PdfColorProfile, int, int, int)
Initializes a new instance of the PdfRgbColor class.
public PdfRgbColor(PdfColorProfile colorProfile, int red, int green, int blue)
Parameters
colorProfile
PdfColorProfileThe ICC color profile for RGB color space.
red
intThe red component value.
green
intThe green component value.
blue
intThe blue component value.
Remarks
Each component value must be a number between 0 (minimum intensity) and 255 (maximum intensity).