[NUI] Improve performance : Remove rarely used properties from the Style. (#2695)
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / BaseComponents / Style / ImageViewStyle.cs
index 39395d2..bacd141 100755 (executable)
@@ -40,30 +40,6 @@ namespace Tizen.NUI.BaseComponents
         });
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public static readonly BindableProperty PreMultipliedAlphaProperty = BindableProperty.Create(nameof(PreMultipliedAlpha), typeof(bool?), typeof(ImageViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
-        {
-            var imageViewStyle = (ImageViewStyle)bindable;
-            imageViewStyle.preMultipliedAlpha = (bool?)newValue;
-        },
-        defaultValueCreator: (bindable) =>
-        {
-            var imageViewStyle = (ImageViewStyle)bindable;
-            return imageViewStyle.preMultipliedAlpha;
-        });
-        /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public static readonly BindableProperty PixelAreaProperty = BindableProperty.Create(nameof(PixelArea), typeof(RelativeVector4), typeof(ImageViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
-        {
-            var imageViewStyle = (ImageViewStyle)bindable;
-            imageViewStyle.pixelArea = (RelativeVector4)newValue;
-        },
-        defaultValueCreator: (bindable) =>
-        {
-            var imageViewStyle = (ImageViewStyle)bindable;
-            return imageViewStyle.pixelArea;
-        });
-        /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
         public static readonly BindableProperty BorderSelectorProperty = BindableProperty.Create("BorderSelector", typeof(Selector<Rectangle>), typeof(ImageViewStyle), null, propertyChanged: (bindable, oldValue, newValue) =>
         {
             var imageViewStyle = (ImageViewStyle)bindable;
@@ -111,8 +87,6 @@ namespace Tizen.NUI.BaseComponents
             return imageViewStyle.orientationCorrection;
         });
 
-        private bool? preMultipliedAlpha;
-        private RelativeVector4 pixelArea;
         private bool? borderOnly;
         private bool? synchronosLoading;
         private bool? orientationCorrection;
@@ -131,22 +105,6 @@ namespace Tizen.NUI.BaseComponents
 
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public bool? PreMultipliedAlpha
-        {
-            get => (bool?)GetValue(PreMultipliedAlphaProperty);
-            set => SetValue(PreMultipliedAlphaProperty, value);
-        }
-
-        /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
-        public RelativeVector4 PixelArea
-        {
-            get => (RelativeVector4)GetValue(PixelAreaProperty);
-            set => SetValue(PixelAreaProperty, value);
-        }
-
-        /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
-        [EditorBrowsable(EditorBrowsableState.Never)]
         public bool? BorderOnly
         {
             get => (bool?)GetValue(BorderOnlyProperty);