From 10bc161daa0f5563798bda6a52826e1844cd26fd Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Mon, 6 Jul 2026 21:36:25 +0900 Subject: [PATCH] [NUI] Deprecate RiveAnimationView, TCSACR-660 --- .../RiveAnimation/RiveAnimationView.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Tizen.NUI.Extension/RiveAnimation/RiveAnimationView.cs b/src/Tizen.NUI.Extension/RiveAnimation/RiveAnimationView.cs index 14be734d158..893bb74d9d0 100644 --- a/src/Tizen.NUI.Extension/RiveAnimation/RiveAnimationView.cs +++ b/src/Tizen.NUI.Extension/RiveAnimation/RiveAnimationView.cs @@ -26,6 +26,7 @@ namespace Tizen.NUI.Extension /// RiveAnimationView renders an animated vector image (Rive file). /// /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public class RiveAnimationView : View { static RiveAnimationView() { } @@ -35,6 +36,7 @@ static RiveAnimationView() { } /// /// The rive resource URL /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public RiveAnimationView(string url) : this(Interop.RiveAnimationView.New(url), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -54,6 +56,7 @@ internal RiveAnimationView(global::System.IntPtr cPtr, bool shown = true) : base /// The animation to enable /// The enable state of given animation /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void EnableAnimation(string animationName, bool on) { Interop.RiveAnimationView.EnableAnimation(SwigCPtr, animationName, on); @@ -63,6 +66,7 @@ public void EnableAnimation(string animationName, bool on) /// Play animation. /// /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void Play() { Interop.RiveAnimationView.Play(SwigCPtr); @@ -72,6 +76,7 @@ public void Play() /// Pause animation. /// /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void Pause() { Interop.RiveAnimationView.Pause(SwigCPtr); @@ -81,6 +86,7 @@ public void Pause() /// Stop animation. /// /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void Stop() { Interop.RiveAnimationView.Stop(SwigCPtr); @@ -92,6 +98,7 @@ public void Stop() /// The shape fill name /// The rgba color /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetShapeFillColor(string shapeFillName, Color color) { if (color == null) @@ -105,6 +112,7 @@ public void SetShapeFillColor(string shapeFillName, Color color) /// The shape stroke name /// The rgba color /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetShapeStrokeColor(string shapeStrokeName, Color color) { if (color == null) @@ -118,6 +126,7 @@ public void SetShapeStrokeColor(string shapeStrokeName, Color color) /// The node name /// The opacity of given node /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetNodeOpacity(string nodeName, float opacity) { Interop.RiveAnimationView.SetNodeOpacity(SwigCPtr, nodeName, opacity); @@ -129,6 +138,7 @@ public void SetNodeOpacity(string nodeName, float opacity) /// The node name /// The scale of given node /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetNodeScale(string nodeName, Vector2 scale) { if (scale == null) @@ -142,6 +152,7 @@ public void SetNodeScale(string nodeName, Vector2 scale) /// The node name /// The degree of given node /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetNodeRotation(string nodeName, Degree degree) { if (degree == null) @@ -155,6 +166,7 @@ public void SetNodeRotation(string nodeName, Degree degree) /// The node name /// The position of given node /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetNodePosition(string nodeName, Position position) { if (position == null) @@ -168,6 +180,7 @@ public void SetNodePosition(string nodeName, Position position) /// The animation name /// The elapsed time in seconds /// 9 + [Obsolete("This has been deprecated in API14, and will be removed in API16")] public void SetAnimationElapsedTime(string animationName, float elapsed) { Interop.RiveAnimationView.SetAnimationElapsedTime(SwigCPtr, animationName, elapsed);