OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class CSSMatrixWrappingImplementation extends DOMWrapperBase implements CSSMatri
x { | |
8 CSSMatrixWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 factory CSSMatrixWrappingImplementation([String cssValue = null]) { | |
10 | |
11 if (cssValue === null) { | |
12 return LevelDom.wrapCSSMatrix(new dom.WebKitCSSMatrix()); | |
13 } else { | |
14 return LevelDom.wrapCSSMatrix(new dom.WebKitCSSMatrix(cssValue)); | |
15 } | |
16 } | |
17 | |
18 num get a() { return _ptr.a; } | |
19 | |
20 void set a(num value) { _ptr.a = value; } | |
21 | |
22 num get b() { return _ptr.b; } | |
23 | |
24 void set b(num value) { _ptr.b = value; } | |
25 | |
26 num get c() { return _ptr.c; } | |
27 | |
28 void set c(num value) { _ptr.c = value; } | |
29 | |
30 num get d() { return _ptr.d; } | |
31 | |
32 void set d(num value) { _ptr.d = value; } | |
33 | |
34 num get e() { return _ptr.e; } | |
35 | |
36 void set e(num value) { _ptr.e = value; } | |
37 | |
38 num get f() { return _ptr.f; } | |
39 | |
40 void set f(num value) { _ptr.f = value; } | |
41 | |
42 num get m11() { return _ptr.m11; } | |
43 | |
44 void set m11(num value) { _ptr.m11 = value; } | |
45 | |
46 num get m12() { return _ptr.m12; } | |
47 | |
48 void set m12(num value) { _ptr.m12 = value; } | |
49 | |
50 num get m13() { return _ptr.m13; } | |
51 | |
52 void set m13(num value) { _ptr.m13 = value; } | |
53 | |
54 num get m14() { return _ptr.m14; } | |
55 | |
56 void set m14(num value) { _ptr.m14 = value; } | |
57 | |
58 num get m21() { return _ptr.m21; } | |
59 | |
60 void set m21(num value) { _ptr.m21 = value; } | |
61 | |
62 num get m22() { return _ptr.m22; } | |
63 | |
64 void set m22(num value) { _ptr.m22 = value; } | |
65 | |
66 num get m23() { return _ptr.m23; } | |
67 | |
68 void set m23(num value) { _ptr.m23 = value; } | |
69 | |
70 num get m24() { return _ptr.m24; } | |
71 | |
72 void set m24(num value) { _ptr.m24 = value; } | |
73 | |
74 num get m31() { return _ptr.m31; } | |
75 | |
76 void set m31(num value) { _ptr.m31 = value; } | |
77 | |
78 num get m32() { return _ptr.m32; } | |
79 | |
80 void set m32(num value) { _ptr.m32 = value; } | |
81 | |
82 num get m33() { return _ptr.m33; } | |
83 | |
84 void set m33(num value) { _ptr.m33 = value; } | |
85 | |
86 num get m34() { return _ptr.m34; } | |
87 | |
88 void set m34(num value) { _ptr.m34 = value; } | |
89 | |
90 num get m41() { return _ptr.m41; } | |
91 | |
92 void set m41(num value) { _ptr.m41 = value; } | |
93 | |
94 num get m42() { return _ptr.m42; } | |
95 | |
96 void set m42(num value) { _ptr.m42 = value; } | |
97 | |
98 num get m43() { return _ptr.m43; } | |
99 | |
100 void set m43(num value) { _ptr.m43 = value; } | |
101 | |
102 num get m44() { return _ptr.m44; } | |
103 | |
104 void set m44(num value) { _ptr.m44 = value; } | |
105 | |
106 CSSMatrix inverse() { | |
107 return LevelDom.wrapCSSMatrix(_ptr.inverse()); | |
108 } | |
109 | |
110 CSSMatrix multiply(CSSMatrix secondMatrix) { | |
111 return LevelDom.wrapCSSMatrix(_ptr.multiply(LevelDom.unwrap(secondMatrix))); | |
112 } | |
113 | |
114 CSSMatrix rotate(num rotX, num rotY, num rotZ) { | |
115 return LevelDom.wrapCSSMatrix(_ptr.rotate(rotX, rotY, rotZ)); | |
116 } | |
117 | |
118 CSSMatrix rotateAxisAngle(num x, num y, num z, num angle) { | |
119 return LevelDom.wrapCSSMatrix(_ptr.rotateAxisAngle(x, y, z, angle)); | |
120 } | |
121 | |
122 CSSMatrix scale(num scaleX, num scaleY, num scaleZ) { | |
123 return LevelDom.wrapCSSMatrix(_ptr.scale(scaleX, scaleY, scaleZ)); | |
124 } | |
125 | |
126 void setMatrixValue(String string) { | |
127 _ptr.setMatrixValue(string); | |
128 return; | |
129 } | |
130 | |
131 CSSMatrix skewX(num angle) { | |
132 return LevelDom.wrapCSSMatrix(_ptr.skewX(angle)); | |
133 } | |
134 | |
135 CSSMatrix skewY(num angle) { | |
136 return LevelDom.wrapCSSMatrix(_ptr.skewY(angle)); | |
137 } | |
138 | |
139 String toString() { | |
140 return _ptr.toString(); | |
141 } | |
142 | |
143 CSSMatrix translate(num x, num y, num z) { | |
144 return LevelDom.wrapCSSMatrix(_ptr.translate(x, y, z)); | |
145 } | |
146 } | |
OLD | NEW |