withRed method

PdfColor withRed(
  1. double red
)

Create a copy of this color with a different red value

Implementation

PdfColor withRed(double red) {
  return PdfColor(red, green, blue, alpha);
}