| OLD | NEW |
| 1 library dart.dom.svg; | 1 library dart.dom.svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev' hide deprecated; | 5 import 'dart:_collection-dev' hide deprecated; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 // DO NOT EDIT | 9 // DO NOT EDIT |
| 10 // Auto-generated dart:svg library. | 10 // Auto-generated dart:svg library. |
| (...skipping 3417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3428 @Unstable() | 3428 @Unstable() |
| 3429 class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta
bleListMixin<Length> implements List<Length> { | 3429 class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta
bleListMixin<Length> implements List<Length> { |
| 3430 | 3430 |
| 3431 @DomName('SVGLengthList.numberOfItems') | 3431 @DomName('SVGLengthList.numberOfItems') |
| 3432 @DocsEditable() | 3432 @DocsEditable() |
| 3433 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; | 3433 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; |
| 3434 | 3434 |
| 3435 Length operator[](int index) { | 3435 Length operator[](int index) { |
| 3436 if (index < 0 || index >= length) | 3436 if (index < 0 || index >= length) |
| 3437 throw new RangeError.range(index, 0, length); | 3437 throw new RangeError.range(index, 0, length); |
| 3438 return _nativeIndexedGetter(index); | 3438 return this.getItem(index)(index); |
| 3439 } | 3439 } |
| 3440 Length _nativeIndexedGetter(int index) native "SVGLengthList_item_Callback"; | |
| 3441 | 3440 |
| 3442 void operator[]=(int index, Length value) { | 3441 void operator[]=(int index, Length value) { |
| 3443 throw new UnsupportedError("Cannot assign element of immutable List."); | 3442 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3444 } | 3443 } |
| 3445 // -- start List<Length> mixins. | 3444 // -- start List<Length> mixins. |
| 3446 // Length is the element type. | 3445 // Length is the element type. |
| 3447 | 3446 |
| 3448 // SVG Collections expose numberOfItems rather than length. | 3447 // SVG Collections expose numberOfItems rather than length. |
| 3449 int get length => numberOfItems; | 3448 int get length => numberOfItems; |
| 3450 | 3449 |
| (...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4018 @Unstable() | 4017 @Unstable() |
| 4019 class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta
bleListMixin<Number> implements List<Number> { | 4018 class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta
bleListMixin<Number> implements List<Number> { |
| 4020 | 4019 |
| 4021 @DomName('SVGNumberList.numberOfItems') | 4020 @DomName('SVGNumberList.numberOfItems') |
| 4022 @DocsEditable() | 4021 @DocsEditable() |
| 4023 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; | 4022 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; |
| 4024 | 4023 |
| 4025 Number operator[](int index) { | 4024 Number operator[](int index) { |
| 4026 if (index < 0 || index >= length) | 4025 if (index < 0 || index >= length) |
| 4027 throw new RangeError.range(index, 0, length); | 4026 throw new RangeError.range(index, 0, length); |
| 4028 return _nativeIndexedGetter(index); | 4027 return this.getItem(index)(index); |
| 4029 } | 4028 } |
| 4030 Number _nativeIndexedGetter(int index) native "SVGNumberList_item_Callback"; | |
| 4031 | 4029 |
| 4032 void operator[]=(int index, Number value) { | 4030 void operator[]=(int index, Number value) { |
| 4033 throw new UnsupportedError("Cannot assign element of immutable List."); | 4031 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 4034 } | 4032 } |
| 4035 // -- start List<Number> mixins. | 4033 // -- start List<Number> mixins. |
| 4036 // Number is the element type. | 4034 // Number is the element type. |
| 4037 | 4035 |
| 4038 // SVG Collections expose numberOfItems rather than length. | 4036 // SVG Collections expose numberOfItems rather than length. |
| 4039 int get length => numberOfItems; | 4037 int get length => numberOfItems; |
| 4040 | 4038 |
| (...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5089 @Unstable() | 5087 @Unstable() |
| 5090 class PathSegList extends NativeFieldWrapperClass1 with ListMixin<PathSeg>, Immu
tableListMixin<PathSeg> implements List<PathSeg> { | 5088 class PathSegList extends NativeFieldWrapperClass1 with ListMixin<PathSeg>, Immu
tableListMixin<PathSeg> implements List<PathSeg> { |
| 5091 | 5089 |
| 5092 @DomName('SVGPathSegList.numberOfItems') | 5090 @DomName('SVGPathSegList.numberOfItems') |
| 5093 @DocsEditable() | 5091 @DocsEditable() |
| 5094 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; | 5092 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; |
| 5095 | 5093 |
| 5096 PathSeg operator[](int index) { | 5094 PathSeg operator[](int index) { |
| 5097 if (index < 0 || index >= length) | 5095 if (index < 0 || index >= length) |
| 5098 throw new RangeError.range(index, 0, length); | 5096 throw new RangeError.range(index, 0, length); |
| 5099 return _nativeIndexedGetter(index); | 5097 return this.getItem(index)(index); |
| 5100 } | 5098 } |
| 5101 PathSeg _nativeIndexedGetter(int index) native "SVGPathSegList_item_Callback"; | |
| 5102 | 5099 |
| 5103 void operator[]=(int index, PathSeg value) { | 5100 void operator[]=(int index, PathSeg value) { |
| 5104 throw new UnsupportedError("Cannot assign element of immutable List."); | 5101 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 5105 } | 5102 } |
| 5106 // -- start List<PathSeg> mixins. | 5103 // -- start List<PathSeg> mixins. |
| 5107 // PathSeg is the element type. | 5104 // PathSeg is the element type. |
| 5108 | 5105 |
| 5109 // SVG Collections expose numberOfItems rather than length. | 5106 // SVG Collections expose numberOfItems rather than length. |
| 5110 int get length => numberOfItems; | 5107 int get length => numberOfItems; |
| 5111 | 5108 |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5998 @Unstable() | 5995 @Unstable() |
| 5999 class StringList extends NativeFieldWrapperClass1 with ListMixin<String>, Immuta
bleListMixin<String> implements List<String> { | 5996 class StringList extends NativeFieldWrapperClass1 with ListMixin<String>, Immuta
bleListMixin<String> implements List<String> { |
| 6000 | 5997 |
| 6001 @DomName('SVGStringList.numberOfItems') | 5998 @DomName('SVGStringList.numberOfItems') |
| 6002 @DocsEditable() | 5999 @DocsEditable() |
| 6003 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; | 6000 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; |
| 6004 | 6001 |
| 6005 String operator[](int index) { | 6002 String operator[](int index) { |
| 6006 if (index < 0 || index >= length) | 6003 if (index < 0 || index >= length) |
| 6007 throw new RangeError.range(index, 0, length); | 6004 throw new RangeError.range(index, 0, length); |
| 6008 return _nativeIndexedGetter(index); | 6005 return this.getItem(index)(index); |
| 6009 } | 6006 } |
| 6010 String _nativeIndexedGetter(int index) native "SVGStringList_item_Callback"; | |
| 6011 | 6007 |
| 6012 void operator[]=(int index, String value) { | 6008 void operator[]=(int index, String value) { |
| 6013 throw new UnsupportedError("Cannot assign element of immutable List."); | 6009 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 6014 } | 6010 } |
| 6015 // -- start List<String> mixins. | 6011 // -- start List<String> mixins. |
| 6016 // String is the element type. | 6012 // String is the element type. |
| 6017 | 6013 |
| 6018 // SVG Collections expose numberOfItems rather than length. | 6014 // SVG Collections expose numberOfItems rather than length. |
| 6019 int get length => numberOfItems; | 6015 int get length => numberOfItems; |
| 6020 | 6016 |
| (...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7136 @Unstable() | 7132 @Unstable() |
| 7137 class TransformList extends NativeFieldWrapperClass1 with ListMixin<Transform>,
ImmutableListMixin<Transform> implements List<Transform> { | 7133 class TransformList extends NativeFieldWrapperClass1 with ListMixin<Transform>,
ImmutableListMixin<Transform> implements List<Transform> { |
| 7138 | 7134 |
| 7139 @DomName('SVGTransformList.numberOfItems') | 7135 @DomName('SVGTransformList.numberOfItems') |
| 7140 @DocsEditable() | 7136 @DocsEditable() |
| 7141 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; | 7137 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; |
| 7142 | 7138 |
| 7143 Transform operator[](int index) { | 7139 Transform operator[](int index) { |
| 7144 if (index < 0 || index >= length) | 7140 if (index < 0 || index >= length) |
| 7145 throw new RangeError.range(index, 0, length); | 7141 throw new RangeError.range(index, 0, length); |
| 7146 return _nativeIndexedGetter(index); | 7142 return this.getItem(index)(index); |
| 7147 } | 7143 } |
| 7148 Transform _nativeIndexedGetter(int index) native "SVGTransformList_item_Callba
ck"; | |
| 7149 | 7144 |
| 7150 void operator[]=(int index, Transform value) { | 7145 void operator[]=(int index, Transform value) { |
| 7151 throw new UnsupportedError("Cannot assign element of immutable List."); | 7146 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 7152 } | 7147 } |
| 7153 // -- start List<Transform> mixins. | 7148 // -- start List<Transform> mixins. |
| 7154 // Transform is the element type. | 7149 // Transform is the element type. |
| 7155 | 7150 |
| 7156 // SVG Collections expose numberOfItems rather than length. | 7151 // SVG Collections expose numberOfItems rather than length. |
| 7157 int get length => numberOfItems; | 7152 int get length => numberOfItems; |
| 7158 | 7153 |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8035 @Unstable() | 8030 @Unstable() |
| 8036 abstract class _SVGVKernElement extends SvgElement { | 8031 abstract class _SVGVKernElement extends SvgElement { |
| 8037 // To suppress missing implicit constructor warnings. | 8032 // To suppress missing implicit constructor warnings. |
| 8038 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } | 8033 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } |
| 8039 | 8034 |
| 8040 @DomName('SVGVKernElement.SVGVKernElement') | 8035 @DomName('SVGVKernElement.SVGVKernElement') |
| 8041 @DocsEditable() | 8036 @DocsEditable() |
| 8042 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8037 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8043 | 8038 |
| 8044 } | 8039 } |
| OLD | NEW |