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>
39 * @brief The text to display in UTF-8 format,
40 * @details name "text", type STRING
42 TEXT = VISUAL_PROPERTY_START_INDEX,
45 * @brief The requested font family to use,
46 * @details name "fontFamily", type STRING
51 * @brief The requested font style to use,
52 * @details name "fontStyle", type MAP
57 * @brief The size of font in points
58 * @details name "pointSize", type FLOAT
63 * @brief The single-line or multi-line layout option
64 * @details name "multiLine", type BOOLEAN, default false
69 * @brief The line horizontal alignment
70 * @details name "horizontalAlignment", type STRING, values "BEGIN", "CENTER", "END", default BEGIN
75 * @brief The line vertical alignment
76 * @details name "verticalAlignment", type STRING, values "TOP", "CENTER", "BOTTOM", default TOP
81 * @brief The color of the text
82 * @details name "textColor", type VECTOR4
87 * @brief Whether the mark-up processing is enabled
88 * @details name "enableMarkup", type BOOLEAN
93 * @brief The shadow parameters.
94 * @details name "shadow", type MAP.
99 * @brief The default underline parameters.
100 * @details name "underline", type MAP.
105 } // namespace Property
107 } // namespace TextVisual
109 } // namespace Toolkit
113 #endif // DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_H