OLD | NEW |
(Empty) | |
| 1 |
| 2 class _SVGPathSegListImpl extends _DOMTypeBase implements SVGPathSegList { |
| 3 _SVGPathSegListImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 int get numberOfItems() => _wrap(_ptr.numberOfItems); |
| 6 |
| 7 SVGPathSeg appendItem(SVGPathSeg newItem) { |
| 8 return _wrap(_ptr.appendItem(_unwrap(newItem))); |
| 9 } |
| 10 |
| 11 void clear() { |
| 12 _ptr.clear(); |
| 13 return; |
| 14 } |
| 15 |
| 16 SVGPathSeg getItem(int index) { |
| 17 return _wrap(_ptr.getItem(_unwrap(index))); |
| 18 } |
| 19 |
| 20 SVGPathSeg initialize(SVGPathSeg newItem) { |
| 21 return _wrap(_ptr.initialize(_unwrap(newItem))); |
| 22 } |
| 23 |
| 24 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) { |
| 25 return _wrap(_ptr.insertItemBefore(_unwrap(newItem), _unwrap(index))); |
| 26 } |
| 27 |
| 28 SVGPathSeg removeItem(int index) { |
| 29 return _wrap(_ptr.removeItem(_unwrap(index))); |
| 30 } |
| 31 |
| 32 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) { |
| 33 return _wrap(_ptr.replaceItem(_unwrap(newItem), _unwrap(index))); |
| 34 } |
| 35 } |
OLD | NEW |