xtd 0.2.0
Loading...
Searching...
No Matches
xtd::drawing::color_translator Class Referencefinal
Inheritance diagram for xtd::drawing::color_translator:
xtd::static_object

Definition

Translates colors to and from GDI+ xtd::drawing::color structures. This class cannot be inherited.

Translates colors to and from GDI+ xtd::drawing::color structures. This class cannot be inherited.
Definition color_translator.h:25
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
Inheritance
xtd::static_objectxtd::drawing::color_translator
Namespace
xtd::drawing
Library
xtd.drawing

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.
 

The documentation for this class was generated from the following file: