Udostępnij za pośrednictwem


ColorExtensions.AddLuminosity(Color, Single) Method

Definition

Adds luminosity to the existing color

public static System.Drawing.Color AddLuminosity (this System.Drawing.Color color, float delta);

Parameters

color
System.Drawing.Color

The color to add luminosity to.

delta
System.Single

The delta to add to the current luminosity.

Returns

System.Drawing.Color

The new color.

Applies to