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 PointWrappingImplementation extends DOMWrapperBase implements Point { | |
8 PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 factory PointWrappingImplementation(num x, num y) { | |
10 return LevelDom.wrapPoint(new dom.WebKitPoint(x, y)); | |
11 } | |
12 | |
13 num get x() { return _ptr.x; } | |
14 | |
15 void set x(num value) { _ptr.x = value; } | |
16 | |
17 num get y() { return _ptr.y; } | |
18 | |
19 void set y(num value) { _ptr.y = value; } | |
20 } | |
OLD | NEW |