withHue method

  1. @override
HSVColour withHue(
  1. double hue
)
override

Returns a copy of this color with the hue parameter replaced with the given value.

Implementation

@override
HSVColour withHue(double hue) {
  return HSVColour.fromAHSV(alpha, hue, saturation, value);
}