xtd 0.2.0
Loading...
Searching...
No Matches
font_style.h
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.h: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.h:34
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:19
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.h:11
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36