withLightness method
Returns a copy with a different lightness value.
Implementation
PdfColorHsl withLightness(double lightness) {
return PdfColorHsl(hue, saturation, lightness, alpha);
}
Returns a copy with a different lightness value.
PdfColorHsl withLightness(double lightness) {
return PdfColorHsl(hue, saturation, lightness, alpha);
}