struct EE::UI::UIHorizontalAlignmentHelper¶
Overview¶
#include <uidirection.hpp> struct UIHorizontalAlignmentHelper { // methods static bool fromString(std::string_view str, UIHorizontalAlignment& alignment); static std::string toString(UIHorizontalAlignment alignment); };
Detailed Documentation¶
Methods¶
static bool fromString(std::string_view str, UIHorizontalAlignment& alignment)
Parses “left”, “right”, “center”, “center_horizontal”, “start” and “end”.
Returns:
False if the value is not a horizontal alignment keyword.