Difference between revisions of "Matrix.new"

From GiderosMobile
Line 8: Line 8:
 
(any), (any) = Matrix.new(m11,m12,m21,m22,tx,ty)
 
(any), (any) = Matrix.new(m11,m12,m21,m22,tx,ty)
 
</source>
 
</source>
'''m11''': (number, default = 1)  ''''''<br/>
+
=== Parameters ===
'''m12''': (number, default = 0)  ''''''<br/>
+
'''m11''': (number, default = 1)  <br/>
'''m21''': (number, default = 0)  ''''''<br/>
+
'''m12''': (number, default = 0)  <br/>
'''m22''': (number, default = 1)  ''''''<br/>
+
'''m21''': (number, default = 0)  <br/>
'''tx''': (number, default = 0)  ''''''<br/>
+
'''m22''': (number, default = 1)  <br/>
'''ty''': (number, default = 0)  ''''''<br/>
+
'''tx''': (number, default = 0)  <br/>
 +
'''ty''': (number, default = 0)  <br/>
 +
=== Return values ===
 
'''Returns''' (any) New `Matrix` object.<br/>
 
'''Returns''' (any) New `Matrix` object.<br/>
 
'''Returns''' (any) New `Matrix` object.<br/>
 
'''Returns''' (any) New `Matrix` object.<br/>

Revision as of 10:45, 23 August 2018

Available since: Gideros 2011.6

Description


Creates a new Matrix object with the specified parameters.

(any), (any) = Matrix.new(m11,m12,m21,m22,tx,ty)

Parameters

m11: (number, default = 1)
m12: (number, default = 0)
m21: (number, default = 0)
m22: (number, default = 1)
tx: (number, default = 0)
ty: (number, default = 0)

Return values

Returns (any) New `Matrix` object.
Returns (any) New `Matrix` object.