PdfColor constructor

const PdfColor({
  1. required int r,
  2. required int g,
  3. required int b,
  4. required int a,
})

Creates a PdfColor from its RGBA components.

Implementation

const PdfColor({
  required this.r,
  required this.g,
  required this.b,
  required this.a,
});