Shows how to use xtd::drawing::color class.
#include <xtd/drawing/color>
#include <xtd/console>
auto main() -> int {
console::write_line("color::black = {}", color::black);
console::write_line("color::withe = {}", color::white);
console::write_line("color::blue = {}", color::blue);
console::write_line("Color::light_green = {}", color::light_green);
console::write_line("Color::from_argb(255, 253, 2, 0) = {}", color::from_argb(255, 253, 2, 0));
console::write_line("color::from_name(\"dodger_blue\") = {}", color::from_name("dodger_blue"));
console::write_line("color::from_name(\"dodger blue\") = {}", color::from_name("dodger blue"));
console::write_line("color::from_name(\"dodgerblue\") = {}", color::from_name("dodgerblue"));
}
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10