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

harbs 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 bb713e8  Added stub for rotation
bb713e8 is described below

commit bb713e8071043911518ee8fed3b19b1da57e4412
Author: Harbs <[email protected]>
AuthorDate: Fri Sep 7 13:11:59 2018 +0300

    Added stub for rotation
---
 .../projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 9d843b0..53ae351 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -517,7 +517,19 @@ public class UIComponent extends UIBase
         {
            _horizontalAxis = value;
         }
+    private var _rotation:Number;
 
+    public function get rotation():Number
+    {
+        //TODO figure out JS side. There's a transofrm bead, but that's pretty 
specific to SVG (I think)
+        trace("proper rotation not yet implemented");
+       return _rotation;
+    }
+
+    public function set rotation(value:Number):void
+    {
+       _rotation = value;
+    }
        //----------------------------------
     //  graphics copied from Sprite
     //----------------------------------

Reply via email to