Color.AddLuminosity(Double) Method
Definition
Returns a new Color with a modified luminosity channel.
public Xamarin.Forms.Color AddLuminosity (double delta);
member this.AddLuminosity : double -> Xamarin.Forms.Color
Parameters
- delta
- Double
The delta (positive or negative) to add to the luminosity channel.
Returns
A new color with a possibly modified luminosity channel.
Remarks
The delta
parameter is added to the current luminosity, and the resulting luminosity is then clamped to the inclusive range [0,1].
Applies to
Feedback
Loading feedback...