You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/08/02 08:43:31 UTC
[royale-asjs] branch feature/MXRoyale updated: mx.geom.Matrix Added
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 d2824a2 mx.geom.Matrix Added
d2824a2 is described below
commit d2824a220292cd1a26834c50abc6443befb7f8d2
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Thu Aug 2 13:43:29 2018 +0500
mx.geom.Matrix Added
---
.../MXRoyale/src/main/royale/mx/geom/Matrix.as | 49 ++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/geom/Matrix.as b/frameworks/projects/MXRoyale/src/main/royale/mx/geom/Matrix.as
new file mode 100644
index 0000000..33e4546
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/geom/Matrix.as
@@ -0,0 +1,49 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+//
+// Implementation derived fromL
+// https://github.com/openfl/openfl/blob/develop/openfl/geom/Matrix.hx
+// available under MIT License.
+//
+package mx.geom
+{
+ import org.apache.royale.geom.Matrix;
+ /**
+ * 2D Matrix
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion Royale 0.7
+ *
+ * @royalesuppresspublicvarwarning
+ */
+ public class Matrix extends org.apache.royale.geom.Matrix
+ {
+ public function Matrix(a:Number = 1, b:Number = 0, c:Number = 0, d:Number = 1, tx:Number = 0, ty:Number = 0)
+ {
+ super(a,b,c,d,tx,ty);
+
+ }
+ public function createGradientBox(width:Number, height:Number, rotation:Number = 0, tx:Number = 0, ty:Number = 0):void
+ {
+ }
+
+ }
+}