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

◆ parse()

static xtd::drawing::color xtd::drawing::color::parse ( const xtd::string color)
staticnoexcept

Creates a xtd::drawing::color class from the specified name.

Parameters
nameA string that is the name of a predefined color. Valid names are the same as the names of the elements of the xtd::drawing::known_color enumeration or hexadecimal value that represents argb value, or four decimal values separated by a comma representing respectively a, r, g, b, values.
Returns
xtd::drawing::color The xtd::drawing::color structure that this method creates.