1 #ifndef DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H
2 #define DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H
5 * Copyright (c) 2018 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/image-visual-properties.h>
30 namespace DevelImageVisual
38 URL = Dali::Toolkit::ImageVisual::Property::URL,
39 FITTING_MODE = Dali::Toolkit::ImageVisual::Property::FITTING_MODE,
40 SAMPLING_MODE = Dali::Toolkit::ImageVisual::Property::SAMPLING_MODE,
41 DESIRED_WIDTH = Dali::Toolkit::ImageVisual::Property::DESIRED_WIDTH,
42 DESIRED_HEIGHT = Dali::Toolkit::ImageVisual::Property::DESIRED_HEIGHT,
43 SYNCHRONOUS_LOADING = Dali::Toolkit::ImageVisual::Property::SYNCHRONOUS_LOADING,
44 BORDER_ONLY = Dali::Toolkit::ImageVisual::Property::BORDER_ONLY,
45 PIXEL_AREA = Dali::Toolkit::ImageVisual::Property::PIXEL_AREA,
46 WRAP_MODE_U = Dali::Toolkit::ImageVisual::Property::WRAP_MODE_U,
47 WRAP_MODE_V = Dali::Toolkit::ImageVisual::Property::WRAP_MODE_V,
48 BORDER = Dali::Toolkit::ImageVisual::Property::BORDER,
49 ATLASING = Dali::Toolkit::ImageVisual::Property::ATLASING,
50 ALPHA_MASK_URL = Dali::Toolkit::ImageVisual::Property::ALPHA_MASK_URL,
51 BATCH_SIZE = Dali::Toolkit::ImageVisual::Property::BATCH_SIZE,
52 CACHE_SIZE = Dali::Toolkit::ImageVisual::Property::CACHE_SIZE,
53 FRAME_DELAY = Dali::Toolkit::ImageVisual::Property::FRAME_DELAY,
54 MASK_CONTENT_SCALE = Dali::Toolkit::ImageVisual::Property::MASK_CONTENT_SCALE,
55 CROP_TO_MASK = Dali::Toolkit::ImageVisual::Property::CROP_TO_MASK,
56 LOAD_POLICY = Dali::Toolkit::ImageVisual::Property::LOAD_POLICY,
57 RELEASE_POLICY = Dali::Toolkit::ImageVisual::Property::RELEASE_POLICY,
58 ORIENTATION_CORRECTION = Dali::Toolkit::ImageVisual::Property::ORIENTATION_CORRECTION,
61 * @brief Overlays the auxiliary iamge on top of an NPatch image.
63 * The resulting visual image will be at least as large as the
64 * smallest possible n-patch or the auxiliary image, whichever is
67 * @details Name "auxiliaryImage", Type Property::STRING, URL of the image.
70 AUXILIARY_IMAGE = ORIENTATION_CORRECTION + 1,
73 * @brief An alpha value for mixing between the masked main NPatch image and the auxiliary image
74 * @details Name "auxiliaryImageAlpha", Type Property::FLOAT, between 0 and 1
77 AUXILIARY_IMAGE_ALPHA = ORIENTATION_CORRECTION + 2,
80 * @brief The number of times the AnimatedImageVisual will be looped.
81 * @details Name "loopCount", type Property::INTEGER.
82 * @note For Animated images only. Default -1. if < 0, loop unlimited. else, loop loopCount times.
84 LOOP_COUNT = ORIENTATION_CORRECTION + 3,
88 } //namespace Property
90 } // namespace DevelImageVisual
92 } // namespace Toolkit
96 #endif // DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H