1 #ifndef DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_H
2 #define DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_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.
22 #include <dali-toolkit/public-api/toolkit-property-index-ranges.h>
30 * @addtogroup dali_toolkit_visuals
35 * @brief TextVisual is to render a text.
42 * @brief TextVisual Property.
49 * @brief Enumeration for the instance of properties belonging to the TextVisual.
55 * @brief The text to display in UTF-8 format.
56 * @details name "text", type Property::STRING.
59 TEXT = VISUAL_PROPERTY_START_INDEX,
62 * @brief The requested font family to use.
63 * @details name "fontFamily", type Property::STRING.
69 * @brief The requested font style to use.
70 * @details name "fontStyle", type Property::MAP.
76 * @brief The size of font in points.
77 * @details name "pointSize", type Property::FLOAT.
83 * @brief The single-line or multi-line layout option.
84 * @details name "multiLine", type Property::BOOLEAN, default false.
90 * @brief The line horizontal alignment.
91 * @details Name "horizontalAlignment", type HorizontalAlignment::Type (Property::INTEGER) or Property::STRING.
92 * @note Optional. If not specified, the default is HorizontalAlignment::BEGIN
93 * @note Return type is HorizontalAlignment::Type (Property::INTEGER)
99 * @brief The line vertical alignment.
100 * @details name "verticalAlignment", VerticalAlignment::Type (Property::INTEGER) or Property::STRING
101 * @note Optional. If not specified, the default is VerticalAlignment::TOP
102 * @note Return type is VerticalAlignment::Type (Property::INTEGER)`
108 * @brief The color of the text.
109 * @details name "textColor", type Property::VECTOR4.
115 * @brief Whether the mark-up processing is enabled.
116 * @details name "enableMarkup", type Property::BOOLEAN.
122 * @brief The shadow parameters.
123 * @details name "shadow", type Property::MAP.
129 * @brief The default underline parameters.
130 * @details name "underline", type Property::MAP.
136 } // namespace Property
138 } // namespace TextVisual
144 } // namespace Toolkit
148 #endif // DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_H