xtd 0.2.0
basic_colors.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../drawing_export.hpp"
6#include "color.hpp"
7#include <xtd/static>
8
10namespace xtd {
12 namespace drawing {
25 public:
27
31 static xtd::drawing::color aqua() noexcept;
32
35 static xtd::drawing::color black() noexcept;
36
39 static xtd::drawing::color blue() noexcept;
40
43 static xtd::drawing::color fuchsia() noexcept;
44
47 static xtd::drawing::color gray() noexcept;
48
51 static xtd::drawing::color green() noexcept;
52
55 static xtd::drawing::color lime() noexcept;
56
59 static xtd::drawing::color maroon() noexcept;
60
63 static xtd::drawing::color navy() noexcept;
64
67 static xtd::drawing::color olive() noexcept;
68
71 static xtd::drawing::color purple() noexcept;
72
75 static xtd::drawing::color red() noexcept;
76
79 static xtd::drawing::color silver() noexcept;
80
83 static xtd::drawing::color teal() noexcept;
84
87 static xtd::drawing::color white() noexcept;
88
91 static xtd::drawing::color yellow() noexcept;
93
95
98 static const xtd::array<xtd::drawing::color>& get_colors() noexcept;
99
101 static const xtd::array<xtd::string>& get_color_names() noexcept;
103 };
104 }
105}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:61
Basic colors for all the hmtl basic colors. This class cannot be inherited.
Definition basic_colors.hpp:24
static xtd::drawing::color aqua() noexcept
A system-defined color object.
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:46
Contains xtd::drawing::color class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10