| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class CSSMatrixWrappingImplementation extends DOMWrapperBase implements CSSMatri
x { | 7 class CSSMatrixWrappingImplementation extends DOMWrapperBase implements CSSMatri
x { |
| 8 CSSMatrixWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 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 } |
| 9 | 17 |
| 10 num get a() { return _ptr.a; } | 18 num get a() { return _ptr.a; } |
| 11 | 19 |
| 12 void set a(num value) { _ptr.a = value; } | 20 void set a(num value) { _ptr.a = value; } |
| 13 | 21 |
| 14 num get b() { return _ptr.b; } | 22 num get b() { return _ptr.b; } |
| 15 | 23 |
| 16 void set b(num value) { _ptr.b = value; } | 24 void set b(num value) { _ptr.b = value; } |
| 17 | 25 |
| 18 num get c() { return _ptr.c; } | 26 num get c() { return _ptr.c; } |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 } | 137 } |
| 130 | 138 |
| 131 String toString() { | 139 String toString() { |
| 132 return _ptr.toString(); | 140 return _ptr.toString(); |
| 133 } | 141 } |
| 134 | 142 |
| 135 CSSMatrix translate(num x, num y, num z) { | 143 CSSMatrix translate(num x, num y, num z) { |
| 136 return LevelDom.wrapCSSMatrix(_ptr.translate(x, y, z)); | 144 return LevelDom.wrapCSSMatrix(_ptr.translate(x, y, z)); |
| 137 } | 145 } |
| 138 } | 146 } |
| OLD | NEW |