royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alinak...@apache.org
Subject [royale-asjs] branch feature/MXRoyale updated: Update Path.as
Date Fri, 01 Jun 2018 04:45:38 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new 6cc69d6  Update Path.as
6cc69d6 is described below

commit 6cc69d60ad879e291715302fcbc95db72cbe7a6e
Author: alinakazi <ALINAKAZI1990@GMAIL.COM>
AuthorDate: Fri Jun 1 09:45:27 2018 +0500

    Update Path.as
---
 .../src/main/royale/spark/primitives/Path.as       | 40 ++++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
index 613eff9..a88bf68 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/primitives/Path.as
@@ -1388,8 +1388,44 @@ public class Path extends EventDispatcher
         _bottom = value;
        // invalidateParentSizeAndDisplayList();
     }
-	
-	//----------------------------------
+    //----------------------------------
+    //  verticalCenter copied from GraphicElement
+    //----------------------------------
+    
+    /**
+     *  @private
+     *  Storage for the verticalCenter property.
+     */
+    private var _verticalCenter:Object;
+
+    [Inspectable(category="General")]
+
+    /**
+     *  @inheritDoc
+     *  
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Royale 0.9.4
+     */
+    public function get verticalCenter():Object
+    {
+        return _verticalCenter;
+    }
+
+    /**
+     *  @private
+     */
+    public function set verticalCenter(value:Object):void
+    {
+        if (_verticalCenter == value)
+            return;
+
+        _verticalCenter = value;
+       // invalidateParentSizeAndDisplayList();
+    }
+    
+    //----------------------------------
     //  stroke copied from StrokedElement
     //----------------------------------
 

-- 
To stop receiving notification emails like this one, please contact
alinakazi@apache.org.

Mime
View raw message