Difference between revisions of "Matrix.new"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Matrix|Matrix]]<br/>
+
'''Class:''' [[Matrix]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Creates a new Matrix object with the specified parameters.<br />
+
Creates a new Matrix object with the specified parameters.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
+
(any) = Matrix.new(m11,m12,m21,m22,tx,ty)
(any), (any) = Matrix.new(m11,m12,m21,m22,tx,ty)
+
</syntaxhighlight>
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''m11''': (number, default = 1) <translate></translate> <br/>
+
'''m11''': (number, default = 1) <br/>
'''m12''': (number, default = 0) <translate></translate> <br/>
+
'''m12''': (number, default = 0) <br/>
'''m21''': (number, default = 0) <translate></translate> <br/>
+
'''m21''': (number, default = 0) <br/>
'''m22''': (number, default = 1) <translate></translate> <br/>
+
'''m22''': (number, default = 1) <br/>
'''tx''': (number, default = 0) <translate></translate> <br/>
+
'''tx''': (number, default = 0) <br/>
'''ty''': (number, default = 0) <translate></translate> <br/>
+
'''ty''': (number, default = 0) <br/>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (any) <translate>New `Matrix` object.</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (any) <translate>New `Matrix` object.</translate><br/>
+
'''Returns''' (any) new Matrix object<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023