xtd 0.2.0
Loading...
Searching...
No Matches
string_alignment.h
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.h: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< 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 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