Table of Contents

Matrix:setElements

Available since version: Gideros 2011.6

Description:

Sets all 6 elements of the matrix.

Syntax:

Matrix:setElements(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)