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:html'; | 5 import 'dart:html'; |
6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
8 // DO NOT EDIT | 8 // DO NOT EDIT |
9 // Auto-generated dart:svg library. | 9 // Auto-generated dart:svg library. |
10 | 10 |
(...skipping 3432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3443 if (length == 0) throw new StateError("No elements"); | 3443 if (length == 0) throw new StateError("No elements"); |
3444 throw new StateError("More than one element"); | 3444 throw new StateError("More than one element"); |
3445 } | 3445 } |
3446 | 3446 |
3447 Length min([int compare(Length a, Length b)]) => | 3447 Length min([int compare(Length a, Length b)]) => |
3448 IterableMixinWorkaround.min(this, compare); | 3448 IterableMixinWorkaround.min(this, compare); |
3449 | 3449 |
3450 Length max([int compare(Length a, Length b)]) => | 3450 Length max([int compare(Length a, Length b)]) => |
3451 IterableMixinWorkaround.max(this, compare); | 3451 IterableMixinWorkaround.max(this, compare); |
3452 | 3452 |
| 3453 void insert(int index, Length element) { |
| 3454 throw new UnsupportedError("Cannot add to immutable List."); |
| 3455 } |
| 3456 |
3453 Length removeAt(int pos) { | 3457 Length removeAt(int pos) { |
3454 throw new UnsupportedError("Cannot remove from immutable List."); | 3458 throw new UnsupportedError("Cannot remove from immutable List."); |
3455 } | 3459 } |
3456 | 3460 |
3457 Length removeLast() { | 3461 Length removeLast() { |
3458 throw new UnsupportedError("Cannot remove from immutable List."); | 3462 throw new UnsupportedError("Cannot remove from immutable List."); |
3459 } | 3463 } |
3460 | 3464 |
3461 void remove(Object object) { | 3465 void remove(Object object) { |
3462 throw new UnsupportedError("Cannot remove from immutable List."); | 3466 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4149 if (length == 0) throw new StateError("No elements"); | 4153 if (length == 0) throw new StateError("No elements"); |
4150 throw new StateError("More than one element"); | 4154 throw new StateError("More than one element"); |
4151 } | 4155 } |
4152 | 4156 |
4153 Number min([int compare(Number a, Number b)]) => | 4157 Number min([int compare(Number a, Number b)]) => |
4154 IterableMixinWorkaround.min(this, compare); | 4158 IterableMixinWorkaround.min(this, compare); |
4155 | 4159 |
4156 Number max([int compare(Number a, Number b)]) => | 4160 Number max([int compare(Number a, Number b)]) => |
4157 IterableMixinWorkaround.max(this, compare); | 4161 IterableMixinWorkaround.max(this, compare); |
4158 | 4162 |
| 4163 void insert(int index, Number element) { |
| 4164 throw new UnsupportedError("Cannot add to immutable List."); |
| 4165 } |
| 4166 |
4159 Number removeAt(int pos) { | 4167 Number removeAt(int pos) { |
4160 throw new UnsupportedError("Cannot remove from immutable List."); | 4168 throw new UnsupportedError("Cannot remove from immutable List."); |
4161 } | 4169 } |
4162 | 4170 |
4163 Number removeLast() { | 4171 Number removeLast() { |
4164 throw new UnsupportedError("Cannot remove from immutable List."); | 4172 throw new UnsupportedError("Cannot remove from immutable List."); |
4165 } | 4173 } |
4166 | 4174 |
4167 void remove(Object object) { | 4175 void remove(Object object) { |
4168 throw new UnsupportedError("Cannot remove from immutable List."); | 4176 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5331 if (length == 0) throw new StateError("No elements"); | 5339 if (length == 0) throw new StateError("No elements"); |
5332 throw new StateError("More than one element"); | 5340 throw new StateError("More than one element"); |
5333 } | 5341 } |
5334 | 5342 |
5335 PathSeg min([int compare(PathSeg a, PathSeg b)]) => | 5343 PathSeg min([int compare(PathSeg a, PathSeg b)]) => |
5336 IterableMixinWorkaround.min(this, compare); | 5344 IterableMixinWorkaround.min(this, compare); |
5337 | 5345 |
5338 PathSeg max([int compare(PathSeg a, PathSeg b)]) => | 5346 PathSeg max([int compare(PathSeg a, PathSeg b)]) => |
5339 IterableMixinWorkaround.max(this, compare); | 5347 IterableMixinWorkaround.max(this, compare); |
5340 | 5348 |
| 5349 void insert(int index, PathSeg element) { |
| 5350 throw new UnsupportedError("Cannot add to immutable List."); |
| 5351 } |
| 5352 |
5341 PathSeg removeAt(int pos) { | 5353 PathSeg removeAt(int pos) { |
5342 throw new UnsupportedError("Cannot remove from immutable List."); | 5354 throw new UnsupportedError("Cannot remove from immutable List."); |
5343 } | 5355 } |
5344 | 5356 |
5345 PathSeg removeLast() { | 5357 PathSeg removeLast() { |
5346 throw new UnsupportedError("Cannot remove from immutable List."); | 5358 throw new UnsupportedError("Cannot remove from immutable List."); |
5347 } | 5359 } |
5348 | 5360 |
5349 void remove(Object object) { | 5361 void remove(Object object) { |
5350 throw new UnsupportedError("Cannot remove from immutable List."); | 5362 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6318 if (length == 0) throw new StateError("No elements"); | 6330 if (length == 0) throw new StateError("No elements"); |
6319 throw new StateError("More than one element"); | 6331 throw new StateError("More than one element"); |
6320 } | 6332 } |
6321 | 6333 |
6322 String min([int compare(String a, String b)]) => | 6334 String min([int compare(String a, String b)]) => |
6323 IterableMixinWorkaround.min(this, compare); | 6335 IterableMixinWorkaround.min(this, compare); |
6324 | 6336 |
6325 String max([int compare(String a, String b)]) => | 6337 String max([int compare(String a, String b)]) => |
6326 IterableMixinWorkaround.max(this, compare); | 6338 IterableMixinWorkaround.max(this, compare); |
6327 | 6339 |
| 6340 void insert(int index, String element) { |
| 6341 throw new UnsupportedError("Cannot add to immutable List."); |
| 6342 } |
| 6343 |
6328 String removeAt(int pos) { | 6344 String removeAt(int pos) { |
6329 throw new UnsupportedError("Cannot remove from immutable List."); | 6345 throw new UnsupportedError("Cannot remove from immutable List."); |
6330 } | 6346 } |
6331 | 6347 |
6332 String removeLast() { | 6348 String removeLast() { |
6333 throw new UnsupportedError("Cannot remove from immutable List."); | 6349 throw new UnsupportedError("Cannot remove from immutable List."); |
6334 } | 6350 } |
6335 | 6351 |
6336 void remove(Object object) { | 6352 void remove(Object object) { |
6337 throw new UnsupportedError("Cannot remove from immutable List."); | 6353 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7574 if (length == 0) throw new StateError("No elements"); | 7590 if (length == 0) throw new StateError("No elements"); |
7575 throw new StateError("More than one element"); | 7591 throw new StateError("More than one element"); |
7576 } | 7592 } |
7577 | 7593 |
7578 Transform min([int compare(Transform a, Transform b)]) => | 7594 Transform min([int compare(Transform a, Transform b)]) => |
7579 IterableMixinWorkaround.min(this, compare); | 7595 IterableMixinWorkaround.min(this, compare); |
7580 | 7596 |
7581 Transform max([int compare(Transform a, Transform b)]) => | 7597 Transform max([int compare(Transform a, Transform b)]) => |
7582 IterableMixinWorkaround.max(this, compare); | 7598 IterableMixinWorkaround.max(this, compare); |
7583 | 7599 |
| 7600 void insert(int index, Transform element) { |
| 7601 throw new UnsupportedError("Cannot add to immutable List."); |
| 7602 } |
| 7603 |
7584 Transform removeAt(int pos) { | 7604 Transform removeAt(int pos) { |
7585 throw new UnsupportedError("Cannot remove from immutable List."); | 7605 throw new UnsupportedError("Cannot remove from immutable List."); |
7586 } | 7606 } |
7587 | 7607 |
7588 Transform removeLast() { | 7608 Transform removeLast() { |
7589 throw new UnsupportedError("Cannot remove from immutable List."); | 7609 throw new UnsupportedError("Cannot remove from immutable List."); |
7590 } | 7610 } |
7591 | 7611 |
7592 void remove(Object object) { | 7612 void remove(Object object) { |
7593 throw new UnsupportedError("Cannot remove from immutable List."); | 7613 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8152 if (length == 0) throw new StateError("No elements"); | 8172 if (length == 0) throw new StateError("No elements"); |
8153 throw new StateError("More than one element"); | 8173 throw new StateError("More than one element"); |
8154 } | 8174 } |
8155 | 8175 |
8156 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => | 8176 ElementInstance min([int compare(ElementInstance a, ElementInstance b)]) => |
8157 IterableMixinWorkaround.min(this, compare); | 8177 IterableMixinWorkaround.min(this, compare); |
8158 | 8178 |
8159 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => | 8179 ElementInstance max([int compare(ElementInstance a, ElementInstance b)]) => |
8160 IterableMixinWorkaround.max(this, compare); | 8180 IterableMixinWorkaround.max(this, compare); |
8161 | 8181 |
| 8182 void insert(int index, ElementInstance element) { |
| 8183 throw new UnsupportedError("Cannot add to immutable List."); |
| 8184 } |
| 8185 |
8162 ElementInstance removeAt(int pos) { | 8186 ElementInstance removeAt(int pos) { |
8163 throw new UnsupportedError("Cannot remove from immutable List."); | 8187 throw new UnsupportedError("Cannot remove from immutable List."); |
8164 } | 8188 } |
8165 | 8189 |
8166 ElementInstance removeLast() { | 8190 ElementInstance removeLast() { |
8167 throw new UnsupportedError("Cannot remove from immutable List."); | 8191 throw new UnsupportedError("Cannot remove from immutable List."); |
8168 } | 8192 } |
8169 | 8193 |
8170 void remove(Object object) { | 8194 void remove(Object object) { |
8171 throw new UnsupportedError("Cannot remove from immutable List."); | 8195 throw new UnsupportedError("Cannot remove from immutable List."); |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8700 @DocsEditable | 8724 @DocsEditable |
8701 @DomName('SVGVKernElement') | 8725 @DomName('SVGVKernElement') |
8702 class _SVGVKernElement extends SvgElement { | 8726 class _SVGVKernElement extends SvgElement { |
8703 _SVGVKernElement.internal() : super.internal(); | 8727 _SVGVKernElement.internal() : super.internal(); |
8704 | 8728 |
8705 @DomName('SVGVKernElement.SVGVKernElement') | 8729 @DomName('SVGVKernElement.SVGVKernElement') |
8706 @DocsEditable | 8730 @DocsEditable |
8707 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8731 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
8708 | 8732 |
8709 } | 8733 } |
OLD | NEW |