Fast bounding-box clipping feature: NUI Wrapper 72/148372/9
authorTom Robinson <tom.robinson@samsung.com>
Thu, 7 Sep 2017 16:00:43 +0000 (17:00 +0100)
committerTom Robinson <tom.robinson@samsung.com>
Fri, 6 Oct 2017 11:13:41 +0000 (11:13 +0000)
Change-Id: Id0a1cc4bc1b13de0572801a360f5c2a13522d9f7

Tizen.NUI/src/public/BaseComponents/View.cs
Tizen.NUI/src/public/NUIConstants.cs

index 3b10492..1f9940e 100755 (executable)
@@ -3811,6 +3811,8 @@ namespace Tizen.NUI.BaseComponents
                     return ClippingModeType.Disabled;
                     case "CLIP_CHILDREN":
                     return ClippingModeType.ClipChildren;
+                    case "CLIP_TO_BOUNDING_BOX":
+                    return ClippingModeType.ClipToBoundingBox;
                     default:
                     return ClippingModeType.Disabled;
                 }
index b24ec1c..b89e0cd 100755 (executable)
@@ -159,7 +159,11 @@ namespace Tizen.NUI
         /// <summary>
         /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
         /// </summary>
-        ClipChildren
+        ClipChildren,
+        /// <summary>
+        /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
+        /// </summary>
+        ClipToBoundingBox
     }
 
     /// <summary>