| 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 SVGPathSegListWrappingImplementation extends DOMWrapperBase implements SVG
PathSegList { | |
| 8 SVGPathSegListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 int get numberOfItems() { return _ptr.numberOfItems; } | |
| 11 | |
| 12 SVGPathSeg appendItem(SVGPathSeg newItem) { | |
| 13 return LevelDom.wrapSVGPathSeg(_ptr.appendItem(LevelDom.unwrap(newItem))); | |
| 14 } | |
| 15 | |
| 16 void clear() { | |
| 17 _ptr.clear(); | |
| 18 return; | |
| 19 } | |
| 20 | |
| 21 SVGPathSeg getItem(int index) { | |
| 22 return LevelDom.wrapSVGPathSeg(_ptr.getItem(index)); | |
| 23 } | |
| 24 | |
| 25 SVGPathSeg initialize(SVGPathSeg newItem) { | |
| 26 return LevelDom.wrapSVGPathSeg(_ptr.initialize(LevelDom.unwrap(newItem))); | |
| 27 } | |
| 28 | |
| 29 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) { | |
| 30 return LevelDom.wrapSVGPathSeg(_ptr.insertItemBefore(LevelDom.unwrap(newItem
), index)); | |
| 31 } | |
| 32 | |
| 33 SVGPathSeg removeItem(int index) { | |
| 34 return LevelDom.wrapSVGPathSeg(_ptr.removeItem(index)); | |
| 35 } | |
| 36 | |
| 37 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) { | |
| 38 return LevelDom.wrapSVGPathSeg(_ptr.replaceItem(LevelDom.unwrap(newItem), in
dex)); | |
| 39 } | |
| 40 } | |
| OLD | NEW |