withLightness method
Create a copy of this HSL color with a different lightness value
Implementation
PdfColorHsl withLightness(double lightness) {
return PdfColorHsl(hue, saturation, lightness, alpha);
}
Create a copy of this HSL color with a different lightness value
PdfColorHsl withLightness(double lightness) {
return PdfColorHsl(hue, saturation, lightness, alpha);
}