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

◆ get_nearest_color()

xtd::drawing::color xtd::drawing::graphics::get_nearest_color ( const xtd::drawing::color color) const

Gets the nearest color to the specified xtd::drawing::color structure.

Parameters
colorxtd::drawing::color structure for which to find a match.
Returns
A xtd::drawing::color structure that represents the nearest color to the one specified with the color parameter.