Translates colors to and from GDI+ xtd::drawing::color structures. This class cannot be inherited.
Public Static Methods | |
static xtd::drawing::color | from_hex (const xtd::string &text) |
Translates an HEX color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_hsl (const xtd::string &text) |
Translates an HSL color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_hsla (const xtd::string &text) |
Translates an HSLA color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_hsv (const xtd::string &text) |
Translates an HSV color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_hsva (const xtd::string &text) |
Translates an HSVVA color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_html (const xtd::string &text) |
Translates an HTML color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_rgb (const xtd::string &text) |
Translates an RGB color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_rgba (const xtd::string &text) |
Translates an RGBA color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::drawing::color | from_win32 (int32 value) |
Translates a Win32 color representation to a GDI+ xtd::drawing::color structure. | |
static xtd::string | to_hex (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HEX string color representation. | |
static xtd::string | to_hex (const xtd::drawing::color &value, bool auto_hexa) noexcept |
Translates the specified xtd::drawing::color structure to an HEX string color representation. | |
static xtd::string | to_hsl (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HSL string color representation. | |
static xtd::string | to_hsl (const xtd::drawing::color &value, bool auto_alpha) noexcept |
Translates the specified xtd::drawing::color structure to an HSL string color representation. | |
static xtd::string | to_hsla (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HSLA string color representation. | |
static xtd::string | to_hsv (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HSV string color representation. | |
static xtd::string | to_hsv (const xtd::drawing::color &value, bool auto_hsva) noexcept |
Translates the specified xtd::drawing::color structure to an HSV string color representation. | |
static xtd::string | to_hsva (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HSVA string color representation. | |
static xtd::string | to_html (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an HTML string color representation. | |
static xtd::string | to_rgb (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an RGB string color representation. | |
static xtd::string | to_rgb (const xtd::drawing::color &value, bool auto_rgba) noexcept |
Translates the specified xtd::drawing::color structure to an RGB string color representation. | |
static xtd::string | to_rgba (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to an RGBA string color representation. | |
static int32 | to_win32 (const xtd::drawing::color &value) noexcept |
Translates the specified xtd::drawing::color structure to a Windows color. | |