withHue method

PdfColorHsl withHue(
  1. double hue
)

Create a copy of this HSL color with a different hue value

Implementation

PdfColorHsl withHue(double hue) {
  return PdfColorHsl(hue, saturation, lightness, alpha);
}