OLD | NEW |
1 library svg; | 1 library svg; |
2 | 2 |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 // DO NOT EDIT | 4 // DO NOT EDIT |
5 // Auto-generated dart:svg library. | 5 // Auto-generated dart:svg library. |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 } | 348 } |
349 | 349 |
350 void addLast(AnimatedLength value) { | 350 void addLast(AnimatedLength value) { |
351 throw new UnsupportedError("Cannot add to immutable List."); | 351 throw new UnsupportedError("Cannot add to immutable List."); |
352 } | 352 } |
353 | 353 |
354 void addAll(Collection<AnimatedLength> collection) { | 354 void addAll(Collection<AnimatedLength> collection) { |
355 throw new UnsupportedError("Cannot add to immutable List."); | 355 throw new UnsupportedError("Cannot add to immutable List."); |
356 } | 356 } |
357 | 357 |
358 bool contains(AnimatedLength element) => _Collections.contains(this, element); | 358 bool contains(AnimatedLength element) => Collections.contains(this, element); |
359 | 359 |
360 void forEach(void f(AnimatedLength element)) => _Collections.forEach(this, f); | 360 void forEach(void f(AnimatedLength element)) => Collections.forEach(this, f); |
361 | 361 |
362 Collection map(f(AnimatedLength element)) => _Collections.map(this, [], f); | 362 Collection map(f(AnimatedLength element)) => Collections.map(this, [], f); |
363 | 363 |
364 Collection<AnimatedLength> filter(bool f(AnimatedLength element)) => | 364 Collection<AnimatedLength> filter(bool f(AnimatedLength element)) => |
365 _Collections.filter(this, <AnimatedLength>[], f); | 365 Collections.filter(this, <AnimatedLength>[], f); |
366 | 366 |
367 bool every(bool f(AnimatedLength element)) => _Collections.every(this, f); | 367 bool every(bool f(AnimatedLength element)) => Collections.every(this, f); |
368 | 368 |
369 bool some(bool f(AnimatedLength element)) => _Collections.some(this, f); | 369 bool some(bool f(AnimatedLength element)) => Collections.some(this, f); |
370 | 370 |
371 bool get isEmpty => this.length == 0; | 371 bool get isEmpty => this.length == 0; |
372 | 372 |
373 // From List<AnimatedLength>: | 373 // From List<AnimatedLength>: |
374 | 374 |
375 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) { | 375 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) { |
376 throw new UnsupportedError("Cannot sort immutable List."); | 376 throw new UnsupportedError("Cannot sort immutable List."); |
377 } | 377 } |
378 | 378 |
379 int indexOf(AnimatedLength element, [int start = 0]) => | 379 int indexOf(AnimatedLength element, [int start = 0]) => |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 } | 461 } |
462 | 462 |
463 void addLast(AnimatedNumber value) { | 463 void addLast(AnimatedNumber value) { |
464 throw new UnsupportedError("Cannot add to immutable List."); | 464 throw new UnsupportedError("Cannot add to immutable List."); |
465 } | 465 } |
466 | 466 |
467 void addAll(Collection<AnimatedNumber> collection) { | 467 void addAll(Collection<AnimatedNumber> collection) { |
468 throw new UnsupportedError("Cannot add to immutable List."); | 468 throw new UnsupportedError("Cannot add to immutable List."); |
469 } | 469 } |
470 | 470 |
471 bool contains(AnimatedNumber element) => _Collections.contains(this, element); | 471 bool contains(AnimatedNumber element) => Collections.contains(this, element); |
472 | 472 |
473 void forEach(void f(AnimatedNumber element)) => _Collections.forEach(this, f); | 473 void forEach(void f(AnimatedNumber element)) => Collections.forEach(this, f); |
474 | 474 |
475 Collection map(f(AnimatedNumber element)) => _Collections.map(this, [], f); | 475 Collection map(f(AnimatedNumber element)) => Collections.map(this, [], f); |
476 | 476 |
477 Collection<AnimatedNumber> filter(bool f(AnimatedNumber element)) => | 477 Collection<AnimatedNumber> filter(bool f(AnimatedNumber element)) => |
478 _Collections.filter(this, <AnimatedNumber>[], f); | 478 Collections.filter(this, <AnimatedNumber>[], f); |
479 | 479 |
480 bool every(bool f(AnimatedNumber element)) => _Collections.every(this, f); | 480 bool every(bool f(AnimatedNumber element)) => Collections.every(this, f); |
481 | 481 |
482 bool some(bool f(AnimatedNumber element)) => _Collections.some(this, f); | 482 bool some(bool f(AnimatedNumber element)) => Collections.some(this, f); |
483 | 483 |
484 bool get isEmpty => this.length == 0; | 484 bool get isEmpty => this.length == 0; |
485 | 485 |
486 // From List<AnimatedNumber>: | 486 // From List<AnimatedNumber>: |
487 | 487 |
488 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) { | 488 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) { |
489 throw new UnsupportedError("Cannot sort immutable List."); | 489 throw new UnsupportedError("Cannot sort immutable List."); |
490 } | 490 } |
491 | 491 |
492 int indexOf(AnimatedNumber element, [int start = 0]) => | 492 int indexOf(AnimatedNumber element, [int start = 0]) => |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 } | 602 } |
603 | 603 |
604 void addLast(AnimateTransformElement value) { | 604 void addLast(AnimateTransformElement value) { |
605 throw new UnsupportedError("Cannot add to immutable List."); | 605 throw new UnsupportedError("Cannot add to immutable List."); |
606 } | 606 } |
607 | 607 |
608 void addAll(Collection<AnimateTransformElement> collection) { | 608 void addAll(Collection<AnimateTransformElement> collection) { |
609 throw new UnsupportedError("Cannot add to immutable List."); | 609 throw new UnsupportedError("Cannot add to immutable List."); |
610 } | 610 } |
611 | 611 |
612 bool contains(AnimateTransformElement element) => _Collections.contains(this,
element); | 612 bool contains(AnimateTransformElement element) => Collections.contains(this, e
lement); |
613 | 613 |
614 void forEach(void f(AnimateTransformElement element)) => _Collections.forEach(
this, f); | 614 void forEach(void f(AnimateTransformElement element)) => Collections.forEach(t
his, f); |
615 | 615 |
616 Collection map(f(AnimateTransformElement element)) => _Collections.map(this, [
], f); | 616 Collection map(f(AnimateTransformElement element)) => Collections.map(this, []
, f); |
617 | 617 |
618 Collection<AnimateTransformElement> filter(bool f(AnimateTransformElement elem
ent)) => | 618 Collection<AnimateTransformElement> filter(bool f(AnimateTransformElement elem
ent)) => |
619 _Collections.filter(this, <AnimateTransformElement>[], f); | 619 Collections.filter(this, <AnimateTransformElement>[], f); |
620 | 620 |
621 bool every(bool f(AnimateTransformElement element)) => _Collections.every(this
, f); | 621 bool every(bool f(AnimateTransformElement element)) => Collections.every(this,
f); |
622 | 622 |
623 bool some(bool f(AnimateTransformElement element)) => _Collections.some(this,
f); | 623 bool some(bool f(AnimateTransformElement element)) => Collections.some(this, f
); |
624 | 624 |
625 bool get isEmpty => this.length == 0; | 625 bool get isEmpty => this.length == 0; |
626 | 626 |
627 // From List<AnimateTransformElement>: | 627 // From List<AnimateTransformElement>: |
628 | 628 |
629 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare])
{ | 629 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare])
{ |
630 throw new UnsupportedError("Cannot sort immutable List."); | 630 throw new UnsupportedError("Cannot sort immutable List."); |
631 } | 631 } |
632 | 632 |
633 int indexOf(AnimateTransformElement element, [int start = 0]) => | 633 int indexOf(AnimateTransformElement element, [int start = 0]) => |
(...skipping 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2957 } | 2957 } |
2958 | 2958 |
2959 void addLast(Length value) { | 2959 void addLast(Length value) { |
2960 throw new UnsupportedError("Cannot add to immutable List."); | 2960 throw new UnsupportedError("Cannot add to immutable List."); |
2961 } | 2961 } |
2962 | 2962 |
2963 void addAll(Collection<Length> collection) { | 2963 void addAll(Collection<Length> collection) { |
2964 throw new UnsupportedError("Cannot add to immutable List."); | 2964 throw new UnsupportedError("Cannot add to immutable List."); |
2965 } | 2965 } |
2966 | 2966 |
2967 bool contains(Length element) => _Collections.contains(this, element); | 2967 bool contains(Length element) => Collections.contains(this, element); |
2968 | 2968 |
2969 void forEach(void f(Length element)) => _Collections.forEach(this, f); | 2969 void forEach(void f(Length element)) => Collections.forEach(this, f); |
2970 | 2970 |
2971 Collection map(f(Length element)) => _Collections.map(this, [], f); | 2971 Collection map(f(Length element)) => Collections.map(this, [], f); |
2972 | 2972 |
2973 Collection<Length> filter(bool f(Length element)) => | 2973 Collection<Length> filter(bool f(Length element)) => |
2974 _Collections.filter(this, <Length>[], f); | 2974 Collections.filter(this, <Length>[], f); |
2975 | 2975 |
2976 bool every(bool f(Length element)) => _Collections.every(this, f); | 2976 bool every(bool f(Length element)) => Collections.every(this, f); |
2977 | 2977 |
2978 bool some(bool f(Length element)) => _Collections.some(this, f); | 2978 bool some(bool f(Length element)) => Collections.some(this, f); |
2979 | 2979 |
2980 bool get isEmpty => this.length == 0; | 2980 bool get isEmpty => this.length == 0; |
2981 | 2981 |
2982 // From List<Length>: | 2982 // From List<Length>: |
2983 | 2983 |
2984 void sort([Comparator<Length> compare = Comparable.compare]) { | 2984 void sort([Comparator<Length> compare = Comparable.compare]) { |
2985 throw new UnsupportedError("Cannot sort immutable List."); | 2985 throw new UnsupportedError("Cannot sort immutable List."); |
2986 } | 2986 } |
2987 | 2987 |
2988 int indexOf(Length element, [int start = 0]) => | 2988 int indexOf(Length element, [int start = 0]) => |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3458 } | 3458 } |
3459 | 3459 |
3460 void addLast(Number value) { | 3460 void addLast(Number value) { |
3461 throw new UnsupportedError("Cannot add to immutable List."); | 3461 throw new UnsupportedError("Cannot add to immutable List."); |
3462 } | 3462 } |
3463 | 3463 |
3464 void addAll(Collection<Number> collection) { | 3464 void addAll(Collection<Number> collection) { |
3465 throw new UnsupportedError("Cannot add to immutable List."); | 3465 throw new UnsupportedError("Cannot add to immutable List."); |
3466 } | 3466 } |
3467 | 3467 |
3468 bool contains(Number element) => _Collections.contains(this, element); | 3468 bool contains(Number element) => Collections.contains(this, element); |
3469 | 3469 |
3470 void forEach(void f(Number element)) => _Collections.forEach(this, f); | 3470 void forEach(void f(Number element)) => Collections.forEach(this, f); |
3471 | 3471 |
3472 Collection map(f(Number element)) => _Collections.map(this, [], f); | 3472 Collection map(f(Number element)) => Collections.map(this, [], f); |
3473 | 3473 |
3474 Collection<Number> filter(bool f(Number element)) => | 3474 Collection<Number> filter(bool f(Number element)) => |
3475 _Collections.filter(this, <Number>[], f); | 3475 Collections.filter(this, <Number>[], f); |
3476 | 3476 |
3477 bool every(bool f(Number element)) => _Collections.every(this, f); | 3477 bool every(bool f(Number element)) => Collections.every(this, f); |
3478 | 3478 |
3479 bool some(bool f(Number element)) => _Collections.some(this, f); | 3479 bool some(bool f(Number element)) => Collections.some(this, f); |
3480 | 3480 |
3481 bool get isEmpty => this.length == 0; | 3481 bool get isEmpty => this.length == 0; |
3482 | 3482 |
3483 // From List<Number>: | 3483 // From List<Number>: |
3484 | 3484 |
3485 void sort([Comparator<Number> compare = Comparable.compare]) { | 3485 void sort([Comparator<Number> compare = Comparable.compare]) { |
3486 throw new UnsupportedError("Cannot sort immutable List."); | 3486 throw new UnsupportedError("Cannot sort immutable List."); |
3487 } | 3487 } |
3488 | 3488 |
3489 int indexOf(Number element, [int start = 0]) => | 3489 int indexOf(Number element, [int start = 0]) => |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4121 } | 4121 } |
4122 | 4122 |
4123 void addLast(PathSeg value) { | 4123 void addLast(PathSeg value) { |
4124 throw new UnsupportedError("Cannot add to immutable List."); | 4124 throw new UnsupportedError("Cannot add to immutable List."); |
4125 } | 4125 } |
4126 | 4126 |
4127 void addAll(Collection<PathSeg> collection) { | 4127 void addAll(Collection<PathSeg> collection) { |
4128 throw new UnsupportedError("Cannot add to immutable List."); | 4128 throw new UnsupportedError("Cannot add to immutable List."); |
4129 } | 4129 } |
4130 | 4130 |
4131 bool contains(PathSeg element) => _Collections.contains(this, element); | 4131 bool contains(PathSeg element) => Collections.contains(this, element); |
4132 | 4132 |
4133 void forEach(void f(PathSeg element)) => _Collections.forEach(this, f); | 4133 void forEach(void f(PathSeg element)) => Collections.forEach(this, f); |
4134 | 4134 |
4135 Collection map(f(PathSeg element)) => _Collections.map(this, [], f); | 4135 Collection map(f(PathSeg element)) => Collections.map(this, [], f); |
4136 | 4136 |
4137 Collection<PathSeg> filter(bool f(PathSeg element)) => | 4137 Collection<PathSeg> filter(bool f(PathSeg element)) => |
4138 _Collections.filter(this, <PathSeg>[], f); | 4138 Collections.filter(this, <PathSeg>[], f); |
4139 | 4139 |
4140 bool every(bool f(PathSeg element)) => _Collections.every(this, f); | 4140 bool every(bool f(PathSeg element)) => Collections.every(this, f); |
4141 | 4141 |
4142 bool some(bool f(PathSeg element)) => _Collections.some(this, f); | 4142 bool some(bool f(PathSeg element)) => Collections.some(this, f); |
4143 | 4143 |
4144 bool get isEmpty => this.length == 0; | 4144 bool get isEmpty => this.length == 0; |
4145 | 4145 |
4146 // From List<PathSeg>: | 4146 // From List<PathSeg>: |
4147 | 4147 |
4148 void sort([Comparator<PathSeg> compare = Comparable.compare]) { | 4148 void sort([Comparator<PathSeg> compare = Comparable.compare]) { |
4149 throw new UnsupportedError("Cannot sort immutable List."); | 4149 throw new UnsupportedError("Cannot sort immutable List."); |
4150 } | 4150 } |
4151 | 4151 |
4152 int indexOf(PathSeg element, [int start = 0]) => | 4152 int indexOf(PathSeg element, [int start = 0]) => |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4816 } | 4816 } |
4817 | 4817 |
4818 void addLast(String value) { | 4818 void addLast(String value) { |
4819 throw new UnsupportedError("Cannot add to immutable List."); | 4819 throw new UnsupportedError("Cannot add to immutable List."); |
4820 } | 4820 } |
4821 | 4821 |
4822 void addAll(Collection<String> collection) { | 4822 void addAll(Collection<String> collection) { |
4823 throw new UnsupportedError("Cannot add to immutable List."); | 4823 throw new UnsupportedError("Cannot add to immutable List."); |
4824 } | 4824 } |
4825 | 4825 |
4826 bool contains(String element) => _Collections.contains(this, element); | 4826 bool contains(String element) => Collections.contains(this, element); |
4827 | 4827 |
4828 void forEach(void f(String element)) => _Collections.forEach(this, f); | 4828 void forEach(void f(String element)) => Collections.forEach(this, f); |
4829 | 4829 |
4830 Collection map(f(String element)) => _Collections.map(this, [], f); | 4830 Collection map(f(String element)) => Collections.map(this, [], f); |
4831 | 4831 |
4832 Collection<String> filter(bool f(String element)) => | 4832 Collection<String> filter(bool f(String element)) => |
4833 _Collections.filter(this, <String>[], f); | 4833 Collections.filter(this, <String>[], f); |
4834 | 4834 |
4835 bool every(bool f(String element)) => _Collections.every(this, f); | 4835 bool every(bool f(String element)) => Collections.every(this, f); |
4836 | 4836 |
4837 bool some(bool f(String element)) => _Collections.some(this, f); | 4837 bool some(bool f(String element)) => Collections.some(this, f); |
4838 | 4838 |
4839 bool get isEmpty => this.length == 0; | 4839 bool get isEmpty => this.length == 0; |
4840 | 4840 |
4841 // From List<String>: | 4841 // From List<String>: |
4842 | 4842 |
4843 void sort([Comparator<String> compare = Comparable.compare]) { | 4843 void sort([Comparator<String> compare = Comparable.compare]) { |
4844 throw new UnsupportedError("Cannot sort immutable List."); | 4844 throw new UnsupportedError("Cannot sort immutable List."); |
4845 } | 4845 } |
4846 | 4846 |
4847 int indexOf(String element, [int start = 0]) => | 4847 int indexOf(String element, [int start = 0]) => |
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5711 } | 5711 } |
5712 | 5712 |
5713 void addLast(Transform value) { | 5713 void addLast(Transform value) { |
5714 throw new UnsupportedError("Cannot add to immutable List."); | 5714 throw new UnsupportedError("Cannot add to immutable List."); |
5715 } | 5715 } |
5716 | 5716 |
5717 void addAll(Collection<Transform> collection) { | 5717 void addAll(Collection<Transform> collection) { |
5718 throw new UnsupportedError("Cannot add to immutable List."); | 5718 throw new UnsupportedError("Cannot add to immutable List."); |
5719 } | 5719 } |
5720 | 5720 |
5721 bool contains(Transform element) => _Collections.contains(this, element); | 5721 bool contains(Transform element) => Collections.contains(this, element); |
5722 | 5722 |
5723 void forEach(void f(Transform element)) => _Collections.forEach(this, f); | 5723 void forEach(void f(Transform element)) => Collections.forEach(this, f); |
5724 | 5724 |
5725 Collection map(f(Transform element)) => _Collections.map(this, [], f); | 5725 Collection map(f(Transform element)) => Collections.map(this, [], f); |
5726 | 5726 |
5727 Collection<Transform> filter(bool f(Transform element)) => | 5727 Collection<Transform> filter(bool f(Transform element)) => |
5728 _Collections.filter(this, <Transform>[], f); | 5728 Collections.filter(this, <Transform>[], f); |
5729 | 5729 |
5730 bool every(bool f(Transform element)) => _Collections.every(this, f); | 5730 bool every(bool f(Transform element)) => Collections.every(this, f); |
5731 | 5731 |
5732 bool some(bool f(Transform element)) => _Collections.some(this, f); | 5732 bool some(bool f(Transform element)) => Collections.some(this, f); |
5733 | 5733 |
5734 bool get isEmpty => this.length == 0; | 5734 bool get isEmpty => this.length == 0; |
5735 | 5735 |
5736 // From List<Transform>: | 5736 // From List<Transform>: |
5737 | 5737 |
5738 void sort([Comparator<Transform> compare = Comparable.compare]) { | 5738 void sort([Comparator<Transform> compare = Comparable.compare]) { |
5739 throw new UnsupportedError("Cannot sort immutable List."); | 5739 throw new UnsupportedError("Cannot sort immutable List."); |
5740 } | 5740 } |
5741 | 5741 |
5742 int indexOf(Transform element, [int start = 0]) => | 5742 int indexOf(Transform element, [int start = 0]) => |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6097 } | 6097 } |
6098 | 6098 |
6099 void addLast(ElementInstance value) { | 6099 void addLast(ElementInstance value) { |
6100 throw new UnsupportedError("Cannot add to immutable List."); | 6100 throw new UnsupportedError("Cannot add to immutable List."); |
6101 } | 6101 } |
6102 | 6102 |
6103 void addAll(Collection<ElementInstance> collection) { | 6103 void addAll(Collection<ElementInstance> collection) { |
6104 throw new UnsupportedError("Cannot add to immutable List."); | 6104 throw new UnsupportedError("Cannot add to immutable List."); |
6105 } | 6105 } |
6106 | 6106 |
6107 bool contains(ElementInstance element) => _Collections.contains(this, element)
; | 6107 bool contains(ElementInstance element) => Collections.contains(this, element); |
6108 | 6108 |
6109 void forEach(void f(ElementInstance element)) => _Collections.forEach(this, f)
; | 6109 void forEach(void f(ElementInstance element)) => Collections.forEach(this, f); |
6110 | 6110 |
6111 Collection map(f(ElementInstance element)) => _Collections.map(this, [], f); | 6111 Collection map(f(ElementInstance element)) => Collections.map(this, [], f); |
6112 | 6112 |
6113 Collection<ElementInstance> filter(bool f(ElementInstance element)) => | 6113 Collection<ElementInstance> filter(bool f(ElementInstance element)) => |
6114 _Collections.filter(this, <ElementInstance>[], f); | 6114 Collections.filter(this, <ElementInstance>[], f); |
6115 | 6115 |
6116 bool every(bool f(ElementInstance element)) => _Collections.every(this, f); | 6116 bool every(bool f(ElementInstance element)) => Collections.every(this, f); |
6117 | 6117 |
6118 bool some(bool f(ElementInstance element)) => _Collections.some(this, f); | 6118 bool some(bool f(ElementInstance element)) => Collections.some(this, f); |
6119 | 6119 |
6120 bool get isEmpty => this.length == 0; | 6120 bool get isEmpty => this.length == 0; |
6121 | 6121 |
6122 // From List<ElementInstance>: | 6122 // From List<ElementInstance>: |
6123 | 6123 |
6124 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { | 6124 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { |
6125 throw new UnsupportedError("Cannot sort immutable List."); | 6125 throw new UnsupportedError("Cannot sort immutable List."); |
6126 } | 6126 } |
6127 | 6127 |
6128 int indexOf(ElementInstance element, [int start = 0]) => | 6128 int indexOf(ElementInstance element, [int start = 0]) => |
(...skipping 25 matching lines...) Expand all Loading... |
6154 } | 6154 } |
6155 | 6155 |
6156 List<ElementInstance> getRange(int start, int rangeLength) => | 6156 List<ElementInstance> getRange(int start, int rangeLength) => |
6157 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6157 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
6158 | 6158 |
6159 // -- end List<ElementInstance> mixins. | 6159 // -- end List<ElementInstance> mixins. |
6160 | 6160 |
6161 /// @domName SVGElementInstanceList.item; @docsEditable true | 6161 /// @domName SVGElementInstanceList.item; @docsEditable true |
6162 ElementInstance item(int index) native; | 6162 ElementInstance item(int index) native; |
6163 } | 6163 } |
OLD | NEW |