From 5c67d917444e2110601463babdbf26d3edf8417b Mon Sep 17 00:00:00 2001 From: Tom Robinson Date: Thu, 7 Sep 2017 17:00:43 +0100 Subject: [PATCH] Fast bounding-box clipping feature: NUI Wrapper Change-Id: Id0a1cc4bc1b13de0572801a360f5c2a13522d9f7 --- Tizen.NUI/src/public/BaseComponents/View.cs | 2 ++ Tizen.NUI/src/public/NUIConstants.cs | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Tizen.NUI/src/public/BaseComponents/View.cs b/Tizen.NUI/src/public/BaseComponents/View.cs index 3b10492..1f9940e 100755 --- a/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/Tizen.NUI/src/public/BaseComponents/View.cs @@ -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; } diff --git a/Tizen.NUI/src/public/NUIConstants.cs b/Tizen.NUI/src/public/NUIConstants.cs index b24ec1c..b89e0cd 100755 --- a/Tizen.NUI/src/public/NUIConstants.cs +++ b/Tizen.NUI/src/public/NUIConstants.cs @@ -159,7 +159,11 @@ namespace Tizen.NUI /// /// This Actor will clip all children to within its boundaries (the actor will also be visible itself). /// - ClipChildren + ClipChildren, + /// + /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself). + /// + ClipToBoundingBox } /// -- 2.7.4