Difference between revisions of "Matrix.new"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Matrix|Matrix]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Line 16: Line 17:
 
'''ty''': (number, default = 0) <translate></translate> <br/>
 
'''ty''': (number, default = 0) <translate></translate> <br/>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Matrix|Matrix]] object.</translate><br/>
+
'''<translate>Returns</translate>''' (any) <translate>New `Matrix` object.</translate><br/>
'''<translate>Returns</translate>''' (any) <translate>New [[Special:MyLanguage/Matrix|Matrix]] object.</translate><br/>
+
'''<translate>Returns</translate>''' (any) <translate>New `Matrix` object.</translate><br/>

Revision as of 09:29, 24 August 2018

Available since: Gideros 2011.6
Class: Matrix

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.