Color.WithHue(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a color with modified Hue, but keeping the same Saturation and Luminosity.
public Xamarin.Forms.Color WithHue (double hue);
member this.WithHue : double -> Xamarin.Forms.Color
Parameters
- hue
- System.Double
The modified Hue.
Returns
A color.
Remarks
The Hue is clamped to the inclusive range [0,1]. This method is useful for creating color palettes.