withValues method
Create a copy of this color with different values
Implementation
PdfColor withValues(double? alpha, double? red, double? green, double? blue) {
return PdfColor(
red ?? this.red,
green ?? this.green,
blue ?? this.blue,
alpha ?? this.alpha,
);
}