xtd 1.0.0
Loading...
Searching...
No Matches
basic_colors.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "color.hpp"
7#include <xtd/static>
8
10namespace xtd {
12 namespace drawing {
25 public:
27
31 [[nodiscard]] static auto aqua() noexcept -> xtd::drawing::color;
32
35 [[nodiscard]] static auto black() noexcept -> xtd::drawing::color;
36
39 [[nodiscard]] static auto blue() noexcept -> xtd::drawing::color;
40
43 [[nodiscard]] static auto fuchsia() noexcept -> xtd::drawing::color;
44
47 [[nodiscard]] static auto gray() noexcept -> xtd::drawing::color;
48
51 [[nodiscard]] static auto green() noexcept -> xtd::drawing::color;
52
55 [[nodiscard]] static auto lime() noexcept -> xtd::drawing::color;
56
59 [[nodiscard]] static auto maroon() noexcept -> xtd::drawing::color;
60
63 [[nodiscard]] static auto navy() noexcept -> xtd::drawing::color;
64
67 [[nodiscard]] static auto olive() noexcept -> xtd::drawing::color;
68
71 [[nodiscard]] static auto purple() noexcept -> xtd::drawing::color;
72
75 [[nodiscard]] static auto red() noexcept -> xtd::drawing::color;
76
79 [[nodiscard]] static auto silver() noexcept -> xtd::drawing::color;
80
83 [[nodiscard]] static auto teal() noexcept -> xtd::drawing::color;
84
87 [[nodiscard]] static auto white() noexcept -> xtd::drawing::color;
88
91 [[nodiscard]] static auto yellow() noexcept -> xtd::drawing::color;
93
95
98 [[nodiscard]] static auto get_colors() noexcept -> const xtd::array<xtd::drawing::color>&;
99
101 [[nodiscard]] static auto get_color_names() noexcept -> const xtd::array<xtd::string>&;
103 };
104 }
105}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:64
Basic colors for all the hmtl basic colors. This class cannot be inherited.
Definition basic_colors.hpp:24
static auto purple() noexcept -> xtd::drawing::color
A system-defined color object.
static auto get_colors() noexcept -> const xtd::array< xtd::drawing::color > &
Gets an array of colors.
static auto aqua() noexcept -> xtd::drawing::color
A system-defined color object.
static auto yellow() noexcept -> xtd::drawing::color
A system-defined color object.
static auto olive() noexcept -> xtd::drawing::color
A system-defined color object.
static auto teal() noexcept -> xtd::drawing::color
A system-defined color object.
static auto lime() noexcept -> xtd::drawing::color
A system-defined color object.
static auto gray() noexcept -> xtd::drawing::color
A system-defined color object.
static auto get_color_names() noexcept -> const xtd::array< xtd::string > &
Gets an array of color names.
static auto navy() noexcept -> xtd::drawing::color
A system-defined color object.
static auto red() noexcept -> xtd::drawing::color
A system-defined color object.
static auto silver() noexcept -> xtd::drawing::color
A system-defined color object.
static auto green() noexcept -> xtd::drawing::color
A system-defined color object.
static auto black() noexcept -> xtd::drawing::color
A system-defined color object.
static auto maroon() noexcept -> xtd::drawing::color
A system-defined color object.
static auto white() noexcept -> xtd::drawing::color
A system-defined color object.
static auto fuchsia() noexcept -> xtd::drawing::color
A system-defined color object.
static auto blue() noexcept -> xtd::drawing::color
A system-defined color object.
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:52
Contains xtd::drawing::color class.
Contains drawing_export_ keyword.
#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:38
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8