xtd 1.0.0
Loading...
Searching...
No Matches
color.hpp
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 inline namespace literals {
12
29 [[nodiscard]] auto operator""_color(const char* s, xtd::usize n) -> xtd::drawing::color;
30
46 [[nodiscard]] auto operator""_color(const char8* s, xtd::usize n) -> xtd::drawing::color;
47
63 [[nodiscard]] auto operator""_color(const char16* s, xtd::usize n) -> xtd::drawing::color;
64
80 [[nodiscard]] auto operator""_color(const char32* s, xtd::usize n) -> xtd::drawing::color;
81
97 [[nodiscard]] auto operator""_color(const wchar* s, xtd::usize n) -> xtd::drawing::color;
99 }
100}
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:52
Contains xtd::drawing::color class.
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:26
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition usize.hpp:22
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:23
@ s
The S key.
Definition console_key.hpp:124
@ n
The N key.
Definition console_key.hpp:114
The xtd::literals namespace contains all xtd's litterals operators.
Definition byte.hpp:15
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8