Merge "C# Bindings for Transition Policy properties" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / visuals / image-visual-properties-devel.h
1 #ifndef DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H
2 #define DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H
3
4 /*
5  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6  *
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
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali-toolkit/public-api/visuals/image-visual-properties.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 namespace DevelImageVisual
31 {
32
33 namespace Property
34 {
35
36 enum Type
37 {
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
49   /**
50    * @brief The border of the image
51    * @details Name "border", type Property::RECTANGLE or Property::VECTOR4
52    *          The border of the image in the order: left, right, bottom, top.
53    *
54    * @note Optional.
55    * @note For N-Patch images only.
56    */
57   BORDER = WRAP_MODE_V + 1,
58 };
59
60 } //namespace Property
61
62 } // namespace DevelImageVisual
63
64 } // namespace Toolkit
65
66 } // namespace Dali
67
68 #endif // DALI_TOOLKIT_DEVEL_API_VISUALS_IMAGE_VISUAL_PROPERTIES_DEVEL_H