xtd 0.2.0
Loading...
Searching...
No Matches
basic_colors.h
Go to the documentation of this file.
1
4#pragma once
5#include "../drawing_export.h"
6#include "color.h"
7#include <xtd/static>
8#include <vector>
9
11namespace xtd {
13 namespace drawing {
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::string>& get_color_names() noexcept;
104 };
105 }
106}
Basic colors for all the hmtl basic colors. This class cannot be inherited.
Definition basic_colors.h:25
static xtd::drawing::color aqua() noexcept
A system-defined color object.
Represents an ARGB (alpha, red, green, blue) color.
Definition color.h:49
Contains xtd::drawing::color class.
#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
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10