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 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2958 } | 2958 } |
2959 | 2959 |
2960 void addLast(Length value) { | 2960 void addLast(Length value) { |
2961 throw new UnsupportedError("Cannot add to immutable List."); | 2961 throw new UnsupportedError("Cannot add to immutable List."); |
2962 } | 2962 } |
2963 | 2963 |
2964 void addAll(Collection<Length> collection) { | 2964 void addAll(Collection<Length> collection) { |
2965 throw new UnsupportedError("Cannot add to immutable List."); | 2965 throw new UnsupportedError("Cannot add to immutable List."); |
2966 } | 2966 } |
2967 | 2967 |
2968 bool contains(Length element) => _Collections.contains(this, element); | 2968 bool contains(Length element) => Collections.contains(this, element); |
2969 | 2969 |
2970 void forEach(void f(Length element)) => _Collections.forEach(this, f); | 2970 void forEach(void f(Length element)) => Collections.forEach(this, f); |
2971 | 2971 |
2972 Collection map(f(Length element)) => _Collections.map(this, [], f); | 2972 Collection map(f(Length element)) => Collections.map(this, [], f); |
2973 | 2973 |
2974 Collection<Length> filter(bool f(Length element)) => | 2974 Collection<Length> filter(bool f(Length element)) => |
2975 _Collections.filter(this, <Length>[], f); | 2975 Collections.filter(this, <Length>[], f); |
2976 | 2976 |
2977 bool every(bool f(Length element)) => _Collections.every(this, f); | 2977 bool every(bool f(Length element)) => Collections.every(this, f); |
2978 | 2978 |
2979 bool some(bool f(Length element)) => _Collections.some(this, f); | 2979 bool some(bool f(Length element)) => Collections.some(this, f); |
2980 | 2980 |
2981 bool get isEmpty => this.length == 0; | 2981 bool get isEmpty => this.length == 0; |
2982 | 2982 |
2983 // From List<Length>: | 2983 // From List<Length>: |
2984 | 2984 |
2985 void sort([Comparator<Length> compare = Comparable.compare]) { | 2985 void sort([Comparator<Length> compare = Comparable.compare]) { |
2986 throw new UnsupportedError("Cannot sort immutable List."); | 2986 throw new UnsupportedError("Cannot sort immutable List."); |
2987 } | 2987 } |
2988 | 2988 |
2989 int indexOf(Length element, [int start = 0]) => | 2989 int indexOf(Length element, [int start = 0]) => |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3459 } | 3459 } |
3460 | 3460 |
3461 void addLast(Number value) { | 3461 void addLast(Number value) { |
3462 throw new UnsupportedError("Cannot add to immutable List."); | 3462 throw new UnsupportedError("Cannot add to immutable List."); |
3463 } | 3463 } |
3464 | 3464 |
3465 void addAll(Collection<Number> collection) { | 3465 void addAll(Collection<Number> collection) { |
3466 throw new UnsupportedError("Cannot add to immutable List."); | 3466 throw new UnsupportedError("Cannot add to immutable List."); |
3467 } | 3467 } |
3468 | 3468 |
3469 bool contains(Number element) => _Collections.contains(this, element); | 3469 bool contains(Number element) => Collections.contains(this, element); |
3470 | 3470 |
3471 void forEach(void f(Number element)) => _Collections.forEach(this, f); | 3471 void forEach(void f(Number element)) => Collections.forEach(this, f); |
3472 | 3472 |
3473 Collection map(f(Number element)) => _Collections.map(this, [], f); | 3473 Collection map(f(Number element)) => Collections.map(this, [], f); |
3474 | 3474 |
3475 Collection<Number> filter(bool f(Number element)) => | 3475 Collection<Number> filter(bool f(Number element)) => |
3476 _Collections.filter(this, <Number>[], f); | 3476 Collections.filter(this, <Number>[], f); |
3477 | 3477 |
3478 bool every(bool f(Number element)) => _Collections.every(this, f); | 3478 bool every(bool f(Number element)) => Collections.every(this, f); |
3479 | 3479 |
3480 bool some(bool f(Number element)) => _Collections.some(this, f); | 3480 bool some(bool f(Number element)) => Collections.some(this, f); |
3481 | 3481 |
3482 bool get isEmpty => this.length == 0; | 3482 bool get isEmpty => this.length == 0; |
3483 | 3483 |
3484 // From List<Number>: | 3484 // From List<Number>: |
3485 | 3485 |
3486 void sort([Comparator<Number> compare = Comparable.compare]) { | 3486 void sort([Comparator<Number> compare = Comparable.compare]) { |
3487 throw new UnsupportedError("Cannot sort immutable List."); | 3487 throw new UnsupportedError("Cannot sort immutable List."); |
3488 } | 3488 } |
3489 | 3489 |
3490 int indexOf(Number element, [int start = 0]) => | 3490 int indexOf(Number element, [int start = 0]) => |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4122 } | 4122 } |
4123 | 4123 |
4124 void addLast(PathSeg value) { | 4124 void addLast(PathSeg value) { |
4125 throw new UnsupportedError("Cannot add to immutable List."); | 4125 throw new UnsupportedError("Cannot add to immutable List."); |
4126 } | 4126 } |
4127 | 4127 |
4128 void addAll(Collection<PathSeg> collection) { | 4128 void addAll(Collection<PathSeg> collection) { |
4129 throw new UnsupportedError("Cannot add to immutable List."); | 4129 throw new UnsupportedError("Cannot add to immutable List."); |
4130 } | 4130 } |
4131 | 4131 |
4132 bool contains(PathSeg element) => _Collections.contains(this, element); | 4132 bool contains(PathSeg element) => Collections.contains(this, element); |
4133 | 4133 |
4134 void forEach(void f(PathSeg element)) => _Collections.forEach(this, f); | 4134 void forEach(void f(PathSeg element)) => Collections.forEach(this, f); |
4135 | 4135 |
4136 Collection map(f(PathSeg element)) => _Collections.map(this, [], f); | 4136 Collection map(f(PathSeg element)) => Collections.map(this, [], f); |
4137 | 4137 |
4138 Collection<PathSeg> filter(bool f(PathSeg element)) => | 4138 Collection<PathSeg> filter(bool f(PathSeg element)) => |
4139 _Collections.filter(this, <PathSeg>[], f); | 4139 Collections.filter(this, <PathSeg>[], f); |
4140 | 4140 |
4141 bool every(bool f(PathSeg element)) => _Collections.every(this, f); | 4141 bool every(bool f(PathSeg element)) => Collections.every(this, f); |
4142 | 4142 |
4143 bool some(bool f(PathSeg element)) => _Collections.some(this, f); | 4143 bool some(bool f(PathSeg element)) => Collections.some(this, f); |
4144 | 4144 |
4145 bool get isEmpty => this.length == 0; | 4145 bool get isEmpty => this.length == 0; |
4146 | 4146 |
4147 // From List<PathSeg>: | 4147 // From List<PathSeg>: |
4148 | 4148 |
4149 void sort([Comparator<PathSeg> compare = Comparable.compare]) { | 4149 void sort([Comparator<PathSeg> compare = Comparable.compare]) { |
4150 throw new UnsupportedError("Cannot sort immutable List."); | 4150 throw new UnsupportedError("Cannot sort immutable List."); |
4151 } | 4151 } |
4152 | 4152 |
4153 int indexOf(PathSeg element, [int start = 0]) => | 4153 int indexOf(PathSeg element, [int start = 0]) => |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4817 } | 4817 } |
4818 | 4818 |
4819 void addLast(String value) { | 4819 void addLast(String value) { |
4820 throw new UnsupportedError("Cannot add to immutable List."); | 4820 throw new UnsupportedError("Cannot add to immutable List."); |
4821 } | 4821 } |
4822 | 4822 |
4823 void addAll(Collection<String> collection) { | 4823 void addAll(Collection<String> collection) { |
4824 throw new UnsupportedError("Cannot add to immutable List."); | 4824 throw new UnsupportedError("Cannot add to immutable List."); |
4825 } | 4825 } |
4826 | 4826 |
4827 bool contains(String element) => _Collections.contains(this, element); | 4827 bool contains(String element) => Collections.contains(this, element); |
4828 | 4828 |
4829 void forEach(void f(String element)) => _Collections.forEach(this, f); | 4829 void forEach(void f(String element)) => Collections.forEach(this, f); |
4830 | 4830 |
4831 Collection map(f(String element)) => _Collections.map(this, [], f); | 4831 Collection map(f(String element)) => Collections.map(this, [], f); |
4832 | 4832 |
4833 Collection<String> filter(bool f(String element)) => | 4833 Collection<String> filter(bool f(String element)) => |
4834 _Collections.filter(this, <String>[], f); | 4834 Collections.filter(this, <String>[], f); |
4835 | 4835 |
4836 bool every(bool f(String element)) => _Collections.every(this, f); | 4836 bool every(bool f(String element)) => Collections.every(this, f); |
4837 | 4837 |
4838 bool some(bool f(String element)) => _Collections.some(this, f); | 4838 bool some(bool f(String element)) => Collections.some(this, f); |
4839 | 4839 |
4840 bool get isEmpty => this.length == 0; | 4840 bool get isEmpty => this.length == 0; |
4841 | 4841 |
4842 // From List<String>: | 4842 // From List<String>: |
4843 | 4843 |
4844 void sort([Comparator<String> compare = Comparable.compare]) { | 4844 void sort([Comparator<String> compare = Comparable.compare]) { |
4845 throw new UnsupportedError("Cannot sort immutable List."); | 4845 throw new UnsupportedError("Cannot sort immutable List."); |
4846 } | 4846 } |
4847 | 4847 |
4848 int indexOf(String element, [int start = 0]) => | 4848 int indexOf(String element, [int start = 0]) => |
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5710 } | 5710 } |
5711 | 5711 |
5712 void addLast(Transform value) { | 5712 void addLast(Transform value) { |
5713 throw new UnsupportedError("Cannot add to immutable List."); | 5713 throw new UnsupportedError("Cannot add to immutable List."); |
5714 } | 5714 } |
5715 | 5715 |
5716 void addAll(Collection<Transform> collection) { | 5716 void addAll(Collection<Transform> collection) { |
5717 throw new UnsupportedError("Cannot add to immutable List."); | 5717 throw new UnsupportedError("Cannot add to immutable List."); |
5718 } | 5718 } |
5719 | 5719 |
5720 bool contains(Transform element) => _Collections.contains(this, element); | 5720 bool contains(Transform element) => Collections.contains(this, element); |
5721 | 5721 |
5722 void forEach(void f(Transform element)) => _Collections.forEach(this, f); | 5722 void forEach(void f(Transform element)) => Collections.forEach(this, f); |
5723 | 5723 |
5724 Collection map(f(Transform element)) => _Collections.map(this, [], f); | 5724 Collection map(f(Transform element)) => Collections.map(this, [], f); |
5725 | 5725 |
5726 Collection<Transform> filter(bool f(Transform element)) => | 5726 Collection<Transform> filter(bool f(Transform element)) => |
5727 _Collections.filter(this, <Transform>[], f); | 5727 Collections.filter(this, <Transform>[], f); |
5728 | 5728 |
5729 bool every(bool f(Transform element)) => _Collections.every(this, f); | 5729 bool every(bool f(Transform element)) => Collections.every(this, f); |
5730 | 5730 |
5731 bool some(bool f(Transform element)) => _Collections.some(this, f); | 5731 bool some(bool f(Transform element)) => Collections.some(this, f); |
5732 | 5732 |
5733 bool get isEmpty => this.length == 0; | 5733 bool get isEmpty => this.length == 0; |
5734 | 5734 |
5735 // From List<Transform>: | 5735 // From List<Transform>: |
5736 | 5736 |
5737 void sort([Comparator<Transform> compare = Comparable.compare]) { | 5737 void sort([Comparator<Transform> compare = Comparable.compare]) { |
5738 throw new UnsupportedError("Cannot sort immutable List."); | 5738 throw new UnsupportedError("Cannot sort immutable List."); |
5739 } | 5739 } |
5740 | 5740 |
5741 int indexOf(Transform element, [int start = 0]) => | 5741 int indexOf(Transform element, [int start = 0]) => |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6096 } | 6096 } |
6097 | 6097 |
6098 void addLast(ElementInstance value) { | 6098 void addLast(ElementInstance value) { |
6099 throw new UnsupportedError("Cannot add to immutable List."); | 6099 throw new UnsupportedError("Cannot add to immutable List."); |
6100 } | 6100 } |
6101 | 6101 |
6102 void addAll(Collection<ElementInstance> collection) { | 6102 void addAll(Collection<ElementInstance> collection) { |
6103 throw new UnsupportedError("Cannot add to immutable List."); | 6103 throw new UnsupportedError("Cannot add to immutable List."); |
6104 } | 6104 } |
6105 | 6105 |
6106 bool contains(ElementInstance element) => _Collections.contains(this, element)
; | 6106 bool contains(ElementInstance element) => Collections.contains(this, element); |
6107 | 6107 |
6108 void forEach(void f(ElementInstance element)) => _Collections.forEach(this, f)
; | 6108 void forEach(void f(ElementInstance element)) => Collections.forEach(this, f); |
6109 | 6109 |
6110 Collection map(f(ElementInstance element)) => _Collections.map(this, [], f); | 6110 Collection map(f(ElementInstance element)) => Collections.map(this, [], f); |
6111 | 6111 |
6112 Collection<ElementInstance> filter(bool f(ElementInstance element)) => | 6112 Collection<ElementInstance> filter(bool f(ElementInstance element)) => |
6113 _Collections.filter(this, <ElementInstance>[], f); | 6113 Collections.filter(this, <ElementInstance>[], f); |
6114 | 6114 |
6115 bool every(bool f(ElementInstance element)) => _Collections.every(this, f); | 6115 bool every(bool f(ElementInstance element)) => Collections.every(this, f); |
6116 | 6116 |
6117 bool some(bool f(ElementInstance element)) => _Collections.some(this, f); | 6117 bool some(bool f(ElementInstance element)) => Collections.some(this, f); |
6118 | 6118 |
6119 bool get isEmpty => this.length == 0; | 6119 bool get isEmpty => this.length == 0; |
6120 | 6120 |
6121 // From List<ElementInstance>: | 6121 // From List<ElementInstance>: |
6122 | 6122 |
6123 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { | 6123 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { |
6124 throw new UnsupportedError("Cannot sort immutable List."); | 6124 throw new UnsupportedError("Cannot sort immutable List."); |
6125 } | 6125 } |
6126 | 6126 |
6127 int indexOf(ElementInstance element, [int start = 0]) => | 6127 int indexOf(ElementInstance element, [int start = 0]) => |
(...skipping 25 matching lines...) Expand all Loading... |
6153 } | 6153 } |
6154 | 6154 |
6155 List<ElementInstance> getRange(int start, int rangeLength) => | 6155 List<ElementInstance> getRange(int start, int rangeLength) => |
6156 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6156 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
6157 | 6157 |
6158 // -- end List<ElementInstance> mixins. | 6158 // -- end List<ElementInstance> mixins. |
6159 | 6159 |
6160 /** @domName SVGElementInstanceList.item */ | 6160 /** @domName SVGElementInstanceList.item */ |
6161 ElementInstance item(int index) native; | 6161 ElementInstance item(int index) native; |
6162 } | 6162 } |
OLD | NEW |