xtd 0.2.0
Loading...
Searching...
No Matches
string_alignment.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8#undef far
9#undef near
11
13namespace xtd {
15 namespace drawing {
23 enum class string_alignment {
25 near = 0,
27 center = 1,
29 far = 2
30 };
31 }
32}
33
37};
string_alignment
Specifies the alignment of a text string relative to its layout rectangle.
Definition string_alignment.hpp:23
@ far
Specifies that text is aligned far from the origin position of the layout rectangle....
@ near
Specifies the text be aligned near the layout. In a left-to-right layout, the near position is left....
@ center
Specifies that text is aligned in the center of the layout rectangle.
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 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