From: Tom Robinson Date: Thu, 7 Sep 2017 16:00:43 +0000 (+0100) Subject: Fast bounding-box clipping feature: NUI Wrapper X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=5c67d917444e2110601463babdbf26d3edf8417b;p=platform%2Fcore%2Fcsapi%2Fnui.git Fast bounding-box clipping feature: NUI Wrapper Change-Id: Id0a1cc4bc1b13de0572801a360f5c2a13522d9f7 --- 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 } ///