[NUI] Implement InnerShadow + Bind Control Borderline and remove relative codes.
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 22 Apr 2025 05:11:28 +0000 (14:11 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 14 May 2025 06:35:12 +0000 (15:35 +0900)
commit46944700858738abba289537df396cbe3416f2cd
tree6537cd2236e2cf313779541f26c8ace61e3f4d59
parentcd82f35fd66a24b9fd2918e635bf53b863aa1afd
[NUI] Implement InnerShadow + Bind Control Borderline and remove relative codes.

Let we make property for InnerShadow.
It will be used when we want to render the shadow inset the view.

Also, Let we make Borderline as top of views, not to touch visual directly.
It will be rendered above the inner shadow now.

* How to use

UIExtents = Inset length of each direction's shadow.
BlurRadius = Radius of shadow. Same as BoxShadow usage.
Color = Color of shadow, Same as BoxShadow usage.

```cs
// InnerShadow for top-left
view.InnerShadow = new InnerShadow(new UIExtents(20.0f, 0.0f, 20.0f, 0.0f), blurRadius, color);

// InnerShadow for inset
view.InnerShadow = new InnerShadow(new UIExtents(20.0f), blurRadius, color);
```

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
13 files changed:
src/Tizen.NUI.Scene3D/src/public/Controls/SceneView.cs
src/Tizen.NUI/src/internal/Interop/Interop.ViewProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs
src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEnum.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/BaseComponents/ViewLiteProperty.cs
src/Tizen.NUI/src/public/ViewProperty/BackgroundExtraData.cs
src/Tizen.NUI/src/public/ViewProperty/InnerShadow.cs [new file with mode: 0755]
src/Tizen.NUI/src/public/ViewProperty/ShadowBase.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/InnerShadowSample.cs [new file with mode: 0755]