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

◆ get_y()

float xtd::drawing::color::get_y ( ) const
noexcept

Gets the Y'UV color model Y (luma) value for this xtd::drawing::color structure.

Returns
The Y'UV Y value of this xtd::drawing::color. The y ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.