flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - Added clone() to Point
Date Sun, 10 Jul 2016 10:05:01 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop c62ce094c -> a7368afd1


Added clone() to Point


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a7368afd
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a7368afd
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a7368afd

Branch: refs/heads/develop
Commit: a7368afd1bed3904cc7f05a88a84e02df2f127a3
Parents: c62ce09
Author: Harbs <harbs@in-tools.com>
Authored: Sun Jul 10 13:04:56 2016 +0300
Committer: Harbs <harbs@in-tools.com>
Committed: Sun Jul 10 13:04:56 2016 +0300

----------------------------------------------------------------------
 .../Core/src/main/flex/org/apache/flex/geom/Point.as         | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a7368afd/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
index 433f7cb..24dd8d6 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/geom/Point.as
@@ -42,6 +42,10 @@ public class Point extends flash.geom.Point
     {
         super(x, y);
     }
+	override public function clone():org.apache.flex.geom.Point
+	{
+		return new org.apache.flex.geom.Point(x,y);
+	}
 }
 
 /**
@@ -67,6 +71,10 @@ public class Point
     
     public var x:Number;
     public var y:Number;
+	public function clone():Point
+	{
+		return new Point(x,y);
+	}
 }
 
 }


Mime
View raw message