1 #ifndef DALI_TOOLKIT_TEXT_ENUMERATIONS_H
2 #define DALI_TOOLKIT_TEXT_ENUMERATIONS_H
5 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
28 * @addtogroup dali_toolkit_controls
36 * @brief The available Horizontal alignments for text.
40 namespace HorizontalAlignment
44 * @brief Enumerations for Horizontal alignment.
50 BEGIN, ///< @SINCE_1_2.60
51 CENTER, ///< @SINCE_1_2.60
52 END ///< @SINCE_1_2.60
55 } // namespace HorizontalAlignment
58 * @brief The available Vertical alignments for text.
62 namespace VerticalAlignment
66 * @brief Enumerations for Vertical alignment.
72 TOP, ///< @SINCE_1_2.60
73 CENTER, ///< @SINCE_1_2.60
74 BOTTOM ///< @SINCE_1_2.60
77 } // namespace VerticalAlignment
80 * @brief Contains modes which specify how lines are wrapped.
82 * If the layout width is too short to show the full text, then a wrapping mode can be specified.
84 * LineWrap::WORD mode will move an entire word to the next line:
92 * LineWrap::CHARACTER mode will move character by character to the next line:
106 * @brief Enumerations specifying how a line is wrapped.
112 WORD, ///< @SINCE_1_2.60
113 CHARACTER ///< @SINCE_1_2.60
116 } // namespace LineWrap
124 } // namespace Toolkit
128 #endif //DALI_TOOLKIT_TEXT_ENUMERATIONS_H