Debian Codegraph @

externs/w3c_css3d.js

raw symbols SCIP
1 /*
2 * Copyright 2010 Closure Compiler Authors
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16
17 /**
18 * @fileoverview Definitions for W3C's CSS 3D Transforms specification.
19 * The whole file has been fully type annotated. Created from
20 * http://www.w3.org/TR/css3-3d-transforms/
21 *
22 * @externs
23 */
24
25 /**
26 * @constructor
27 * @param {string} matrix
28 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
29 */
30 function CSSMatrix(matrix) {}
31
32 /**
33 * @type {number}
34 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
35 */
36 CSSMatrix.prototype.m11;
37
38 /**
39 * @type {number}
40 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
41 */
42 CSSMatrix.prototype.m12;
43
44 /**
45 * @type {number}
46 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
47 */
48 CSSMatrix.prototype.m13;
49
50 /**
51 * @type {number}
52 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
53 */
54 CSSMatrix.prototype.m14;
55
56 /**
57 * @type {number}
58 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
59 */
60 CSSMatrix.prototype.m21;
61
62 /**
63 * @type {number}
64 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
65 */
66 CSSMatrix.prototype.m22;
67
68 /**
69 * @type {number}
70 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
71 */
72 CSSMatrix.prototype.m23;
73
74 /**
75 * @type {number}
76 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
77 */
78 CSSMatrix.prototype.m24;
79
80 /**
81 * @type {number}
82 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
83 */
84 CSSMatrix.prototype.m31;
85
86 /**
87 * @type {number}
88 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
89 */
90 CSSMatrix.prototype.m32;
91
92 /**
93 * @type {number}
94 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
95 */
96 CSSMatrix.prototype.m33;
97
98 /**
99 * @type {number}
100 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
101 */
102 CSSMatrix.prototype.m34;
103
104 /**
105 * @type {number}
106 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
107 */
108 CSSMatrix.prototype.m41;
109
110 /**
111 * @type {number}
112 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
113 */
114 CSSMatrix.prototype.m42;
115
116 /**
117 * @type {number}
118 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
119 */
120 CSSMatrix.prototype.m43;
121
122 /**
123 * @type {number}
124 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
125 */
126 CSSMatrix.prototype.m44;
127
128 /**
129 * @param {string} string
130 * @return {void}
131 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
132 */
133 CSSMatrix.prototype.setMatrixValue = function(string) {};
134
135 /**
136 * @param {CSSMatrix} secondMatrix
137 * @return {CSSMatrix}
138 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
139 */
140 CSSMatrix.prototype.multiply = function(secondMatrix) {};
141
142 /**
143 * @return {CSSMatrix}
144 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
145 */
146 CSSMatrix.prototype.inverse = function() {};
147
148 /**
149 * @param {number} x
150 * @param {number} y
151 * @param {number} z
152 * @return {CSSMatrix}
153 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
154 */
155 CSSMatrix.prototype.translate = function(x, y, z) {};
156
157 /**
158 * @param {number} scaleX
159 * @param {number} scaleY
160 * @param {number} scaleZ
161 * @return {CSSMatrix}
162 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
163 */
164 CSSMatrix.prototype.scale = function(scaleX, scaleY, scaleZ) {};
165
166 /**
167 * @param {number} rotX
168 * @param {number} rotY
169 * @param {number} rotZ
170 * @return {CSSMatrix}
171 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
172 */
173 CSSMatrix.prototype.rotate = function(rotX, rotY, rotZ) {};
174
175 /**
176 * @param {number} x
177 * @param {number} y
178 * @param {number} z
179 * @param {number} angle
180 * @return {CSSMatrix}
181 * @see http://www.w3.org/TR/css3-3d-transforms/#cssmatrix-interface
182 */
183 CSSMatrix.prototype.rotateAxisAngle = function(x, y, z, angle) {};
184
185 /**
186 * @constructor
187 * @param {string} 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
190 */
191 function WebKitCSSMatrix(matrix) {}
192
193 /**
194 * @constructor
195 * @param {string} matrix
196 * @extends {CSSMatrix}
197 * @see http://msdn.microsoft.com/en-us/library/windows/apps/hh453593.aspx
198 */
199 function MSCSSMatrix(matrix) {}