X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisuals%2Fcolor-visual-properties-devel.h;h=bae7111e6627abaef9e0749c6cfd7238a6518ccd;hp=4eb8b3a9f8bda88fb8c78b015988e393fd44ca40;hb=383021a5eeff5ade0a8e7d50d3fdbe5a7549f0da;hpb=f20180dbb4cd52afb0305f2aa7889e81f55ef19e diff --git a/dali-toolkit/devel-api/visuals/color-visual-properties-devel.h b/dali-toolkit/devel-api/visuals/color-visual-properties-devel.h index 4eb8b3a..bae7111 100644 --- a/dali-toolkit/devel-api/visuals/color-visual-properties-devel.h +++ b/dali-toolkit/devel-api/visuals/color-visual-properties-devel.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_COLOR_VISUAL_PROPERTIES_DEVEL_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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,20 +23,15 @@ namespace Dali { - namespace Toolkit { - - namespace DevelColorVisual { - /** * @brief Additional ColorVisual Properties. */ namespace Property { - /** * @brief Enumeration for the instance of additional properties belonging to the ColorVisual. */ @@ -45,21 +40,19 @@ enum MIX_COLOR = Toolkit::ColorVisual::Property::MIX_COLOR, /** - * @brief Whether to render if the MIX_COLOR is transparent. - * @details Name "renderIfTransparent", type Property::BOOLEAN. + * @brief The blur radius of the visual. + * @details Name "blurRadius", type Property::FLOAT, animatable. + * If the value is 0, the edge is sharp. Otherwise, the larger the value, the more the edge is blurred. * @note Optional. - * @note By default it's false, i.e. ColorVisual will not render if the MIX_COLOR is transparent. + * @note The default is 0. + * @note The visual size increases by the blur radius. */ - RENDER_IF_TRANSPARENT = MIX_COLOR + 1, + BLUR_RADIUS = MIX_COLOR + 2, }; } // namespace Property -} // namespace ColorVisual - -/** - * @} - */ +} // namespace DevelColorVisual } // namespace Toolkit