xtd 0.2.0
Loading...
Searching...
No Matches

◆ light() [2/2]

static color xtd::drawing::color::light ( const color color,
double  percent 
)
staticnoexcept

Creates a new lighter color of the specified color with specified percent factor.

Parameters
colorThe color to light.
percentThe lighter factor in % (from 0.0 to 1.0).
Returns
The new color.
Remarks
Thus, a percent value of 1.0 will return the xtd::drawing::color::black, while a value of 0.0 will return the color.
Deprecated:
Replaced by xtd::drawing::color_converter::light - Will be removed in version 0.4.0