From b69f5c51a536d0025cef9a18d0c4c264b0a63d77 Mon Sep 17 00:00:00 2001 From: seungho Date: Wed, 15 Sep 2021 21:06:39 +0900 Subject: [PATCH] [NUI] Make public page transitions Signed-off-by: seungho --- src/Tizen.NUI/src/public/Transition/FadeTransition.cs | 6 +++--- src/Tizen.NUI/src/public/Transition/ScaleTransition.cs | 12 ++++++------ src/Tizen.NUI/src/public/Transition/SlideTransition.cs | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Tizen.NUI/src/public/Transition/FadeTransition.cs b/src/Tizen.NUI/src/public/Transition/FadeTransition.cs index 3ed9607..5c7e595 100644 --- a/src/Tizen.NUI/src/public/Transition/FadeTransition.cs +++ b/src/Tizen.NUI/src/public/Transition/FadeTransition.cs @@ -24,7 +24,7 @@ namespace Tizen.NUI /// /// FadeTransition class is a cluster of properties for the fade transition of a View. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public class FadeTransition : TransitionBase { private float opacity = 0.0f; @@ -32,7 +32,7 @@ namespace Tizen.NUI /// /// Create a FadeTransition for the View pair. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public FadeTransition() { } @@ -43,7 +43,7 @@ namespace Tizen.NUI /// If this transition is for disappearing, the opacity of target View is animated to this property. /// Default Opacity is 0. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public float Opacity { get diff --git a/src/Tizen.NUI/src/public/Transition/ScaleTransition.cs b/src/Tizen.NUI/src/public/Transition/ScaleTransition.cs index cb7bfb6..79e65eb 100644 --- a/src/Tizen.NUI/src/public/Transition/ScaleTransition.cs +++ b/src/Tizen.NUI/src/public/Transition/ScaleTransition.cs @@ -24,29 +24,29 @@ namespace Tizen.NUI /// /// ScaleTransition provides smoothly appearing/disappearing scale effects for target View. /// If this transition is for appearing, the View comes out with the scale factor applied - /// and will be animated at its original scale. + /// and will be animated to its original scale. /// If this transition is for disappearing, the View starts at its original size - /// but will become the scale of scale factor and vanished. + /// and will finally become scaled by scale factor and vanishes. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public class ScaleTransition : TransitionBase { /// /// Create a ScaleTransition. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public ScaleTransition() { } /// /// Set/get Scale factor for this scale transition. - /// if AppearingTransition, transition starts from scaled by the ScaleFactor and is animated to the original size. + /// If AppearingTransition, transition starts from scaled by the ScaleFactor and is animated to the original size. /// And if DisappearingTransition, transition is finished to the scaled state by the ScaleFactor. /// /// Default ScaleFactor is Vector2(0.0f, 0.0f). /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public Vector2 ScaleFactor { get; set; } = new Vector2(0.0f, 0.0f); internal override TransitionItemBase CreateTransition(View view, bool isAppearing) diff --git a/src/Tizen.NUI/src/public/Transition/SlideTransition.cs b/src/Tizen.NUI/src/public/Transition/SlideTransition.cs index cb5d48b..571b49b 100644 --- a/src/Tizen.NUI/src/public/Transition/SlideTransition.cs +++ b/src/Tizen.NUI/src/public/Transition/SlideTransition.cs @@ -27,13 +27,13 @@ namespace Tizen.NUI /// The direction the target Control is comming from or going to can be selected in the pre-defined directions at the SlideTransitionDirection {UP, DOWN, LEFT, RIGHT} /// And, to use custom direction, the direction can be set by using Vector2. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public class SlideTransition : TransitionBase { /// /// Create a SlideTransition for the View pair. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public SlideTransition() { } @@ -41,7 +41,7 @@ namespace Tizen.NUI /// /// Set/get SlideDirection for this slide transition. /// - [EditorBrowsable(EditorBrowsableState.Never)] + /// 9 public Vector2 Direction { get; set; } = SlideTransitionDirection.Right; internal override TransitionItemBase CreateTransition(View view, bool isAppearing) -- 2.7.4