scale method
Returns a new matrix that is the result of the current matrix multiplied by the scale matrix that corresponds to the input parameters.
![]() ![]() |
Syntax
var retMatrix = MSCSSMatrix.scale(scaleX, scaleY, scaleZ);Parameters
- scaleX [in]
-
Type: Floating-point
The x component (in degrees) of the scale value.
- scaleY [in, optional]
-
Type: Floating-point
The y component (in degrees) of the scale value. If scaleY is not defined, the y component of the scale value is the same as the x component.
- scaleZ [in, optional]
-
Type: Floating-point
The z component (in degrees) of the scale value. If scaleY is not defined, the value of scaleZ is 1.
- retMatrix [out, retval]
-
Type: MSCSSMatrix
The returned matrix.
Return value
Type: MSCSSMatrix
The returned matrix.
Standards information
- CSS Transitions Module Level 3, Section 10.1
See also
Show:

