2 * Copyright 2010 The Closure Compiler Authors
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Definitions for W3C's CSS 3D Transforms specification.
19 * The whole file has been fully type annotated. Created from
20 * https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html
27 * @param {string=} opt_matrix
28 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#the-cssmatrix-interface
30 function CSSMatrix(opt_matrix) {}
34 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
36 CSSMatrix.prototype.m11;
40 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
42 CSSMatrix.prototype.m12;
46 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
48 CSSMatrix.prototype.m13;
52 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
54 CSSMatrix.prototype.m14;
58 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
60 CSSMatrix.prototype.m21;
64 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
66 CSSMatrix.prototype.m22;
70 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
72 CSSMatrix.prototype.m23;
76 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
78 CSSMatrix.prototype.m24;
82 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
84 CSSMatrix.prototype.m31;
88 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
90 CSSMatrix.prototype.m32;
94 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
96 CSSMatrix.prototype.m33;
100 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
102 CSSMatrix.prototype.m34;
106 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
108 CSSMatrix.prototype.m41;
112 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
114 CSSMatrix.prototype.m42;
118 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
120 CSSMatrix.prototype.m43;
124 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#three-dimensional-attributes
126 CSSMatrix.prototype.m44;
129 * @param {string} string
132 CSSMatrix.prototype.setMatrixValue = function(string) {};
135 * @param {!CSSMatrix} secondMatrix
136 * @return {!CSSMatrix}
137 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-multiply-CSSMatrix-CSSMatrix-other
139 CSSMatrix.prototype.multiply = function(secondMatrix) {};
142 * @return {CSSMatrix} Returns void if the matrix is non-invertable.
143 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-inverse-CSSMatrix
145 CSSMatrix.prototype.inverse = function() {};
148 * @param {number=} opt_x Defaults to 0.
149 * @param {number=} opt_y Defaults to 0.
150 * @param {number=} opt_z Defaults to 0.
151 * @return {!CSSMatrix}
152 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-translate-CSSMatrix-unrestricted-double-tx-unrestricted-double-ty-unrestricted-double-tz
154 CSSMatrix.prototype.translate = function(opt_x, opt_y, opt_z) {};
157 * @param {number=} opt_scaleX Defaults to 1.
158 * @param {number=} opt_scaleY Defaults to scaleX.
159 * @param {number=} opt_scaleZ Defaults to 1.
160 * @return {!CSSMatrix}
161 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-scale-CSSMatrix-unrestricted-double-scale-unrestricted-double-originX-unrestricted-double-originY
163 CSSMatrix.prototype.scale = function(opt_scaleX, opt_scaleY, opt_scaleZ) {};
166 * @param {number=} opt_rotX Defaults to 0.
167 * @param {number=} opt_rotY Defaults to 0.
168 * @param {number=} opt_rotZ Defaults to rotX if rotY is not defined, else 0.
169 * @return {!CSSMatrix}
170 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-rotate-CSSMatrix-unrestricted-double-angle-unrestricted-double-originX-unrestricted-double-originY
172 CSSMatrix.prototype.rotate = function(opt_rotX, opt_rotY, opt_rotZ) {};
175 * @param {number=} opt_x Defaults to 0.
176 * @param {number=} opt_y Defaults to 0.
177 * @param {number=} opt_z Defaults to 0.
178 * @param {number=} opt_angle Defaults to 0.
179 * @return {!CSSMatrix}
180 * @see https://dvcs.w3.org/hg/FXTF/raw-file/tip/matrix/index.html#widl-CSSMatrix-rotateAxisAngle-CSSMatrix-unrestricted-double-x-unrestricted-double-y-unrestricted-double-z-unrestricted-double-angle
182 CSSMatrix.prototype.rotateAxisAngle =
183 function(opt_x, opt_y, opt_z, opt_angle) {};
187 * @param {string=} opt_matrix
188 * @extends {CSSMatrix}
189 * @see http://developer.apple.com/safari/library/documentation/AudioVideo/Reference/WebKitCSSMatrixClassReference/WebKitCSSMatrix/WebKitCSSMatrix.html#//apple_ref/javascript/instm/WebKitCSSMatrix/setMatrixValue
191 function WebKitCSSMatrix(opt_matrix) {}
195 * @param {string=} opt_matrix
196 * @extends {CSSMatrix}
197 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh453593.aspx
199 function MSCSSMatrix(opt_matrix) {}