toString method

Returns a string that corresponds to the matrix.

CSS Transitions Module Level 3, Section 10.1Internet Explorer 10

 

Syntax

var matrixString = MSCSSMatrix.toString();

Parameters

matrixString [out, retval]

Type: DOMString

A string value that corresponds to the matrix. This string value contains matrix(, followed by a comma-and-whitespace-delimited list of matrix values, followed by ).

ValueMeaning
matrix(a, b, c, d, e, f)

For a 2-D transform matrix, the matrix value list is ordered a, b, c, d, e, f.

matrix(m11, m21, m31, m41, m12, m22, m32, m42, m13, m23, m33, m43, m14, m24, m34, m44)

For a 3-D transform matrix, the matrix value list is ordered m11, m21, m31, m41, m12, m22, m32, m42, m13, m23, m33, m43, m14, m24, m34, m44.

 

Return value

Type: DOMString

A string value that corresponds to the matrix. This string value contains matrix(, followed by a comma-and-whitespace-delimited list of matrix values, followed by ).

matrix(a, b, c, d, e, f)

For a 2-D transform matrix, the matrix value list is ordered a, b, c, d, e, f.

matrix(m11, m21, m31, m41, m12, m22, m32, m42, m13, m23, m33, m43, m14, m24, m34, m44)

For a 3-D transform matrix, the matrix value list is ordered m11, m21, m31, m41, m12, m22, m32, m42, m13, m23, m33, m43, m14, m24, m34, m44.

Standards information

See also

MSCSSMatrix

 

 

Show: