xtd 0.2.0
basic_colors.h
Go to the documentation of this file.
1 #pragma once
5 #include "../drawing_export.h"
6 #include "color.h"
7 #include <xtd/static>
8 #include <vector>
9 
11 namespace xtd {
13  namespace drawing {
25  class drawing_export_ basic_colors final static_ {
26  public:
28 
32  static xtd::drawing::color aqua() noexcept;
33 
36  static xtd::drawing::color black() noexcept;
37 
40  static xtd::drawing::color blue() noexcept;
41 
44  static xtd::drawing::color fuchsia() noexcept;
45 
48  static xtd::drawing::color gray() noexcept;
49 
52  static xtd::drawing::color green() noexcept;
53 
56  static xtd::drawing::color lime() noexcept;
57 
60  static xtd::drawing::color maroon() noexcept;
61 
64  static xtd::drawing::color navy() noexcept;
65 
68  static xtd::drawing::color olive() noexcept;
69 
72  static xtd::drawing::color purple() noexcept;
73 
76  static xtd::drawing::color red() noexcept;
77 
80  static xtd::drawing::color silver() noexcept;
81 
84  static xtd::drawing::color teal() noexcept;
85 
88  static xtd::drawing::color white() noexcept;
89 
92  static xtd::drawing::color yellow() noexcept;
94 
96 
99  static const std::vector<xtd::drawing::color>& get_colors() noexcept;
100 
102  static const std::vector<xtd::ustring>& get_color_names() noexcept;
104  };
105  }
106 }
A system-defined color.
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:37
A system-defined color.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Basic colors for all the hmtl basic colors. This class cannot be inherited.
Definition: basic_colors.h:25
A system-defined color.
A system-defined color.
A system-defined color.
Represents an ARGB (alpha, red, green, blue) color.
Definition: color.h:45
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
Contains xtd::drawing::color class.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.