X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Fpublic-api%2Fvisuals%2Ftext-visual-properties.h;h=2ab1cba4fe30c767ff4622a7262f8150616e2784;hb=105a3fe3da990090d2074ba3c259a2dbaf1c8ad2;hp=6399efc305eec25c9f17d1ffd512ed03d7e5812e;hpb=ca4209fb071e5c353a7e528098a2e497765118d8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/visuals/text-visual-properties.h b/dali-toolkit/public-api/visuals/text-visual-properties.h index 6399efc..2ab1cba 100644 --- a/dali-toolkit/public-api/visuals/text-visual-properties.h +++ b/dali-toolkit/public-api/visuals/text-visual-properties.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_VISUAL_PROPERTIES_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ namespace Dali { - namespace Toolkit { /** @@ -32,15 +31,21 @@ namespace Toolkit */ /** - * @brief TextVisual Properties + * @brief TextVisual is to render a text. * @SINCE_1_2.60 */ namespace TextVisual { - +/** + * @brief TextVisual Property. + * @SINCE_1_2.60 + */ namespace Property { - +/** + * @brief Enumeration for the instance of properties belonging to the TextVisual. + * @SINCE_1_2.60 + */ enum { /** @@ -80,14 +85,18 @@ enum /** * @brief The line horizontal alignment. - * @details name "horizontalAlignment", type Property::STRING, values "BEGIN", "CENTER", "END", default BEGIN. + * @details Name "horizontalAlignment", type HorizontalAlignment::Type (Property::INTEGER) or Property::STRING. + * @note Optional. If not specified, the default is HorizontalAlignment::BEGIN + * @note Return type is HorizontalAlignment::Type (Property::INTEGER) * @SINCE_1_2.60 */ HORIZONTAL_ALIGNMENT, /** * @brief The line vertical alignment. - * @details name "verticalAlignment", type Property::STRING, values "TOP", "CENTER", "BOTTOM", default TOP. + * @details name "verticalAlignment", VerticalAlignment::Type (Property::INTEGER) or Property::STRING + * @note Optional. If not specified, the default is VerticalAlignment::TOP + * @note Return type is VerticalAlignment::Type (Property::INTEGER)` * @SINCE_1_2.60 */ VERTICAL_ALIGNMENT, @@ -119,6 +128,12 @@ enum * @SINCE_1_2.60 */ UNDERLINE, + + /** + * @brief The default strikethrough parameters. + * @details name "strikethrough", type Property::MAP. + */ + STRIKETHROUGH, }; } // namespace Property