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 Properties
47 * @brief The text to display in UTF-8 format.
48 * @details name "text", type Property::STRING.
51 TEXT = VISUAL_PROPERTY_START_INDEX,
54 * @brief The requested font family to use.
55 * @details name "fontFamily", type Property::STRING.
61 * @brief The requested font style to use.
62 * @details name "fontStyle", type Property::MAP.
68 * @brief The size of font in points.
69 * @details name "pointSize", type Property::FLOAT.
75 * @brief The single-line or multi-line layout option.
76 * @details name "multiLine", type Property::BOOLEAN, default false.
82 * @brief The line horizontal alignment.
83 * @details Name "horizontalAlignment", type HorizontalAlignment::Type (Property::INTEGER) or Property::STRING.
84 * @note Optional. If not specified, the default is HorizontalAlignment::BEGIN
85 * @note Return type is HorizontalAlignment::Type (Property::INTEGER)
91 * @brief The line vertical alignment.
92 * @details name "verticalAlignment", VerticalAlignment::Type (Property::INTEGER) or Property::STRING
93 * @note Optional. If not specified, the default is VerticalAlignment::TOP
94 * @note Return type is VerticalAlignment::Type (Property::INTEGER)`
100 * @brief The color of the text.
101 * @details name "textColor", type Property::VECTOR4.
107 * @brief Whether the mark-up processing is enabled.
108 * @details name "enableMarkup", type Property::BOOLEAN.
114 * @brief The shadow parameters.
115 * @details name "shadow", type Property::MAP.
121 * @brief The default underline parameters.
122 * @details name "underline", type Property::MAP.
128 } // namespace Property
130 } // namespace TextVisual
136 } // namespace Toolkit
140 #endif // DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_H