Xamarin.Forms.Color.AddLuminosity Method
Returns a new Color with a modified luminosity channel.

Syntax

public Color AddLuminosity (double delta)

Parameters

delta
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].

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0