1 #ifndef DALI_TOOLKIT_COLOR_VISUAL_PROPERTIES_DEVEL_H
2 #define DALI_TOOLKIT_COLOR_VISUAL_PROPERTIES_DEVEL_H
5 * Copyright (c) 2020 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/visuals/color-visual-properties.h>
31 namespace DevelColorVisual
35 * @brief Additional ColorVisual Properties.
41 * @brief Enumeration for the instance of additional properties belonging to the ColorVisual.
45 MIX_COLOR = Toolkit::ColorVisual::Property::MIX_COLOR,
48 * @brief Whether to render if the MIX_COLOR is transparent.
49 * @details Name "renderIfTransparent", type Property::BOOLEAN.
51 * @note By default it's false, i.e. ColorVisual will not render if the MIX_COLOR is transparent.
53 RENDER_IF_TRANSPARENT = MIX_COLOR + 1,
56 * @brief The blur radius of the visual.
57 * @details Name "blurRadius", type Property::FLOAT.
58 * If the value is 0, the edge is sharp. Otherwise, the larger the value, the more the edge is blurred.
60 * @note The default is 0.
61 * @note The visual size increases by the blur radius.
63 BLUR_RADIUS = MIX_COLOR + 2,
66 } // namespace Property
68 } // namespace ColorVisual
74 } // namespace Toolkit
78 #endif // DALI_TOOLKIT_COLOR_VISUAL_PROPERTIES_DEVEL_H