This is an automated email from the ASF dual-hosted git repository.

alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2fbd49b  Changes in LinearGradient
2fbd49b is described below

commit 2fbd49bc2915d61806e147a0eb12f2388e1fbea8
Author: alinakazi <[email protected]>
AuthorDate: Wed Mar 17 16:33:39 2021 +0500

    Changes in LinearGradient
---
 .../src/main/royale/mx/graphics/LinearGradient.as  | 38 +++++++++-------------
 1 file changed, 16 insertions(+), 22 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradient.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradient.as
index c2bc080..69c4ee2 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradient.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/graphics/LinearGradient.as
@@ -26,14 +26,28 @@ import mx.core.mx_internal;
 import mx.display.Graphics;
 import mx.graphics.IFill;
 import mx.geom.Matrix;
-
+import org.apache.royale.graphics.GradientBase;
 
 use namespace mx_internal;
 
 [DefaultProperty("entries")]
 
-public class LinearGradient implements IFill
+public class LinearGradient extends org.apache.royale.graphics.GradientBase 
implements IFill
 {
+       //----------------------------------
+    //  scaleX
+    //----------------------------------
+    
+    private var _scaleX:Number;
+       public function get scaleX():Number
+       {
+               return _scaleX;
+       }
+    public function set scaleX(value:Number):void
+       {
+               _scaleX = value;
+       }
+       
     public function 
begin(g:Graphics,targetBounds:Rectangle,targetOrigin:Point):void
     {
         var m:Matrix = null;
@@ -46,27 +60,7 @@ public class LinearGradient implements IFill
     {
     }
 
-    private var _rotation:Number;
-    
-    public function get rotation():Number
-    {
-        return _rotation;
-    }
-    public function set rotation(value:Number):void
-    {
-        _rotation = value;
-    }
-    
-    private var _entries:Array;
     
-    public function get entries():Array
-    {
-        return _entries;
-    }
-    public function set entries(value:Array):void
-    {
-        _entries = value;
-    }
 
     public function set interpolationMethod(value:String):void {}
 

Reply via email to