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. | |
|
static |
Translates an HEX color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HTMLS color to translate. |
xtd:format_exception | text is not a valid HEX color name. |
|
static |
Translates an HSL color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HSL color to translate. |
xtd:format_exception | text is not a valid HSL color name. |
|
static |
Translates an HSLA color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HSLA color to translate. |
xtd:format_exception | text is not a valid HSLA color name. |
|
static |
Translates an HSV color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HSV color to translate. |
xtd:format_exception | text is not a valid HSV color name. |
|
static |
Translates an HSVVA color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HTML color to translate. |
xtd:format_exception | text is not a valid HSVA color name. |
|
static |
Translates an HTML color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the HTML color to translate. |
xtd:format_exception | text is not a valid HTML color name. |
|
static |
Translates an RGB color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the RGB color to translate. |
xtd:format_exception | text is not a valid RGB color name. |
|
static |
Translates an RGBA color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the RGBA color to translate. |
xtd:format_exception | text is not a valid RGBA color name. |
|
static |
Translates a Win32 color representation to a GDI+ xtd::drawing::color structure.
text | The string representation of the Win32 color to translate. |
xtd:format_exception | text is not a valid Win32 color name. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HEX string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HEX string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSL string color representation.
value | The xtd::drawing::color structure to translate. |
auto_alpha | If true and alpha channel is not 100% shows alpha value; otherwise always not show alpha value. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSL string color representation.
value | The xtd::drawing::color structure to translate. |
auto_hsla | If true and alpha channel is not 100% use HSLA; otherwise always use HSL. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSLA string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSV string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSV string color representation.
value | The xtd::drawing::color structure to translate. |
auto_hsva | If true and alpha channel is not 100% use HSLA; otherwise always use HSL. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HSVA string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an HTML string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an RGB string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an RGB string color representation.
value | The xtd::drawing::color structure to translate. |
auto_rgba | If true and alpha channel is not 100% use RGB; otherwise always use RGB. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to an RGBA string color representation.
value | The xtd::drawing::color structure to translate. |
|
staticnoexcept |
Translates the specified xtd::drawing::color structure to a Windows color.
value | The xtd::drawing::color structure to translate. |