xtd 0.2.0
Loading...
Searching...
No Matches
font_style.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace drawing {
17 enum class font_style {
19 regular = 0,
21 bold = 0b1,
23 italic = 0b10,
25 underline = 0b100,
27 strikeout = 0b1000
28 };
29 }
30}
31
34
35template<> struct xtd::enum_register<xtd::drawing::font_style> {
37};
font_style
Specifies style information applied to text. This enumeration has a flags attribute that allows a bit...
Definition font_style.hpp:17
@ underline
Underline text.
@ strikeout
Text with a line through the middle.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition brush.hpp:18
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38