[NUI] Add StartOffset of GradientVisual
authorChihun Jeong <50663828+ANZ1217@users.noreply.github.com>
Thu, 8 May 2025 05:01:01 +0000 (14:01 +0900)
committertscholb <scholb.kim@samsung.com>
Thu, 8 May 2025 07:09:13 +0000 (16:09 +0900)
commit83c7749189de615ca9a3f78b965b21e72e6daa05
tree3406f7cd09d7fc573a969a4620db6930d8e3cff9
parentffbdbd927ff9ad4e94df6c9591a7fe7de8acb094
[NUI] Add StartOffset of GradientVisual

### Description of Change ###
Add StartOffset of GradientVisual.
Start offset is the offset value that shifts the starting position of the gradient.
0.0 is start position of gradient, 1.0 is end position of gradient.
It is possible to set the startOffset outside the [0, 1] range.
For example, you can animate it from 0.5 to 1.5.

How to use:
Animation anim = new Animation(1000);
anim.AnimateTo(bgView, "gradient.StartOffset", 1.0f);
anim.Play();
src/Tizen.NUI/src/internal/Common/PropertyHelper.cs
src/Tizen.NUI/src/internal/Interop/Interop.GradientVisual.cs
src/Tizen.NUI/src/internal/NativeBinding/NDalic.cs
src/Tizen.NUI/src/internal/XamlBinding/NUIConstantExtension.cs
src/Tizen.NUI/src/public/Visuals/GradientVisual.cs
src/Tizen.NUI/src/public/Visuals/VisualConstants.cs