Color.AddLuminosity(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 new Color with a modified luminosity channel.
public Xamarin.Forms.Color AddLuminosity (double delta);
member this.AddLuminosity : double -> Xamarin.Forms.Color
Parameters
- delta
- System.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].