| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 void addAll(Collection<SVGAnimatedLength> collection) { | 344 void addAll(Collection<SVGAnimatedLength> collection) { |
| 345 throw new UnsupportedError("Cannot add to immutable List."); | 345 throw new UnsupportedError("Cannot add to immutable List."); |
| 346 } | 346 } |
| 347 | 347 |
| 348 bool contains(SVGAnimatedLength element) => _Collections.contains(this, elemen
t); | 348 bool contains(SVGAnimatedLength element) => _Collections.contains(this, elemen
t); |
| 349 | 349 |
| 350 void forEach(void f(SVGAnimatedLength element)) => _Collections.forEach(this,
f); | 350 void forEach(void f(SVGAnimatedLength element)) => _Collections.forEach(this,
f); |
| 351 | 351 |
| 352 Iterable mappedBy(f(SVGAnimatedLength element)) => new MappedIterable(this, f)
; | 352 Iterable mappedBy(f(SVGAnimatedLength element)) => new MappedIterable(this, f)
; |
| 353 | 353 |
| 354 Collection<SVGAnimatedLength> where(bool f(SVGAnimatedLength element)) => | 354 Iterable<SVGAnimatedLength> where(bool f(SVGAnimatedLength element)) => new Wh
ereIterable<SVGAnimatedLength>(this, f); |
| 355 _Collections.where(this, <SVGAnimatedLength>[], f); | |
| 356 | 355 |
| 357 bool every(bool f(SVGAnimatedLength element)) => _Collections.every(this, f); | 356 bool every(bool f(SVGAnimatedLength element)) => _Collections.every(this, f); |
| 358 | 357 |
| 359 bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f); | 358 bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f); |
| 360 | 359 |
| 361 bool get isEmpty => this.length == 0; | 360 bool get isEmpty => this.length == 0; |
| 362 | 361 |
| 363 // From List<SVGAnimatedLength>: | 362 // From List<SVGAnimatedLength>: |
| 364 | 363 |
| 365 void sort([Comparator<SVGAnimatedLength> compare = Comparable.compare]) { | 364 void sort([Comparator<SVGAnimatedLength> compare = Comparable.compare]) { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 void addAll(Collection<SVGAnimatedNumber> collection) { | 454 void addAll(Collection<SVGAnimatedNumber> collection) { |
| 456 throw new UnsupportedError("Cannot add to immutable List."); | 455 throw new UnsupportedError("Cannot add to immutable List."); |
| 457 } | 456 } |
| 458 | 457 |
| 459 bool contains(SVGAnimatedNumber element) => _Collections.contains(this, elemen
t); | 458 bool contains(SVGAnimatedNumber element) => _Collections.contains(this, elemen
t); |
| 460 | 459 |
| 461 void forEach(void f(SVGAnimatedNumber element)) => _Collections.forEach(this,
f); | 460 void forEach(void f(SVGAnimatedNumber element)) => _Collections.forEach(this,
f); |
| 462 | 461 |
| 463 Iterable mappedBy(f(SVGAnimatedNumber element)) => new MappedIterable(this, f)
; | 462 Iterable mappedBy(f(SVGAnimatedNumber element)) => new MappedIterable(this, f)
; |
| 464 | 463 |
| 465 Collection<SVGAnimatedNumber> where(bool f(SVGAnimatedNumber element)) => | 464 Iterable<SVGAnimatedNumber> where(bool f(SVGAnimatedNumber element)) => new Wh
ereIterable<SVGAnimatedNumber>(this, f); |
| 466 _Collections.where(this, <SVGAnimatedNumber>[], f); | |
| 467 | 465 |
| 468 bool every(bool f(SVGAnimatedNumber element)) => _Collections.every(this, f); | 466 bool every(bool f(SVGAnimatedNumber element)) => _Collections.every(this, f); |
| 469 | 467 |
| 470 bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f); | 468 bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f); |
| 471 | 469 |
| 472 bool get isEmpty => this.length == 0; | 470 bool get isEmpty => this.length == 0; |
| 473 | 471 |
| 474 // From List<SVGAnimatedNumber>: | 472 // From List<SVGAnimatedNumber>: |
| 475 | 473 |
| 476 void sort([Comparator<SVGAnimatedNumber> compare = Comparable.compare]) { | 474 void sort([Comparator<SVGAnimatedNumber> compare = Comparable.compare]) { |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 void addAll(Collection<SVGAnimateTransformElement> collection) { | 592 void addAll(Collection<SVGAnimateTransformElement> collection) { |
| 595 throw new UnsupportedError("Cannot add to immutable List."); | 593 throw new UnsupportedError("Cannot add to immutable List."); |
| 596 } | 594 } |
| 597 | 595 |
| 598 bool contains(SVGAnimateTransformElement element) => _Collections.contains(thi
s, element); | 596 bool contains(SVGAnimateTransformElement element) => _Collections.contains(thi
s, element); |
| 599 | 597 |
| 600 void forEach(void f(SVGAnimateTransformElement element)) => _Collections.forEa
ch(this, f); | 598 void forEach(void f(SVGAnimateTransformElement element)) => _Collections.forEa
ch(this, f); |
| 601 | 599 |
| 602 Iterable mappedBy(f(SVGAnimateTransformElement element)) => new MappedIterable
(this, f); | 600 Iterable mappedBy(f(SVGAnimateTransformElement element)) => new MappedIterable
(this, f); |
| 603 | 601 |
| 604 Collection<SVGAnimateTransformElement> where(bool f(SVGAnimateTransformElement
element)) => | 602 Iterable<SVGAnimateTransformElement> where(bool f(SVGAnimateTransformElement e
lement)) => new WhereIterable<SVGAnimateTransformElement>(this, f); |
| 605 _Collections.where(this, <SVGAnimateTransformElement>[], f); | |
| 606 | 603 |
| 607 bool every(bool f(SVGAnimateTransformElement element)) => _Collections.every(t
his, f); | 604 bool every(bool f(SVGAnimateTransformElement element)) => _Collections.every(t
his, f); |
| 608 | 605 |
| 609 bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(thi
s, f); | 606 bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(thi
s, f); |
| 610 | 607 |
| 611 bool get isEmpty => this.length == 0; | 608 bool get isEmpty => this.length == 0; |
| 612 | 609 |
| 613 // From List<SVGAnimateTransformElement>: | 610 // From List<SVGAnimateTransformElement>: |
| 614 | 611 |
| 615 void sort([Comparator<SVGAnimateTransformElement> compare = Comparable.compare
]) { | 612 void sort([Comparator<SVGAnimateTransformElement> compare = Comparable.compare
]) { |
| (...skipping 2399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3015 void addAll(Collection<SVGLength> collection) { | 3012 void addAll(Collection<SVGLength> collection) { |
| 3016 throw new UnsupportedError("Cannot add to immutable List."); | 3013 throw new UnsupportedError("Cannot add to immutable List."); |
| 3017 } | 3014 } |
| 3018 | 3015 |
| 3019 bool contains(SVGLength element) => _Collections.contains(this, element); | 3016 bool contains(SVGLength element) => _Collections.contains(this, element); |
| 3020 | 3017 |
| 3021 void forEach(void f(SVGLength element)) => _Collections.forEach(this, f); | 3018 void forEach(void f(SVGLength element)) => _Collections.forEach(this, f); |
| 3022 | 3019 |
| 3023 Iterable mappedBy(f(SVGLength element)) => new MappedIterable(this, f); | 3020 Iterable mappedBy(f(SVGLength element)) => new MappedIterable(this, f); |
| 3024 | 3021 |
| 3025 Collection<SVGLength> where(bool f(SVGLength element)) => | 3022 Iterable<SVGLength> where(bool f(SVGLength element)) => new WhereIterable<SVGL
ength>(this, f); |
| 3026 _Collections.where(this, <SVGLength>[], f); | |
| 3027 | 3023 |
| 3028 bool every(bool f(SVGLength element)) => _Collections.every(this, f); | 3024 bool every(bool f(SVGLength element)) => _Collections.every(this, f); |
| 3029 | 3025 |
| 3030 bool some(bool f(SVGLength element)) => _Collections.some(this, f); | 3026 bool some(bool f(SVGLength element)) => _Collections.some(this, f); |
| 3031 | 3027 |
| 3032 bool get isEmpty => this.length == 0; | 3028 bool get isEmpty => this.length == 0; |
| 3033 | 3029 |
| 3034 // From List<SVGLength>: | 3030 // From List<SVGLength>: |
| 3035 | 3031 |
| 3036 void sort([Comparator<SVGLength> compare = Comparable.compare]) { | 3032 void sort([Comparator<SVGLength> compare = Comparable.compare]) { |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3504 void addAll(Collection<SVGNumber> collection) { | 3500 void addAll(Collection<SVGNumber> collection) { |
| 3505 throw new UnsupportedError("Cannot add to immutable List."); | 3501 throw new UnsupportedError("Cannot add to immutable List."); |
| 3506 } | 3502 } |
| 3507 | 3503 |
| 3508 bool contains(SVGNumber element) => _Collections.contains(this, element); | 3504 bool contains(SVGNumber element) => _Collections.contains(this, element); |
| 3509 | 3505 |
| 3510 void forEach(void f(SVGNumber element)) => _Collections.forEach(this, f); | 3506 void forEach(void f(SVGNumber element)) => _Collections.forEach(this, f); |
| 3511 | 3507 |
| 3512 Iterable mappedBy(f(SVGNumber element)) => new MappedIterable(this, f); | 3508 Iterable mappedBy(f(SVGNumber element)) => new MappedIterable(this, f); |
| 3513 | 3509 |
| 3514 Collection<SVGNumber> where(bool f(SVGNumber element)) => | 3510 Iterable<SVGNumber> where(bool f(SVGNumber element)) => new WhereIterable<SVGN
umber>(this, f); |
| 3515 _Collections.where(this, <SVGNumber>[], f); | |
| 3516 | 3511 |
| 3517 bool every(bool f(SVGNumber element)) => _Collections.every(this, f); | 3512 bool every(bool f(SVGNumber element)) => _Collections.every(this, f); |
| 3518 | 3513 |
| 3519 bool some(bool f(SVGNumber element)) => _Collections.some(this, f); | 3514 bool some(bool f(SVGNumber element)) => _Collections.some(this, f); |
| 3520 | 3515 |
| 3521 bool get isEmpty => this.length == 0; | 3516 bool get isEmpty => this.length == 0; |
| 3522 | 3517 |
| 3523 // From List<SVGNumber>: | 3518 // From List<SVGNumber>: |
| 3524 | 3519 |
| 3525 void sort([Comparator<SVGNumber> compare = Comparable.compare]) { | 3520 void sort([Comparator<SVGNumber> compare = Comparable.compare]) { |
| (...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4163 void addAll(Collection<SVGPathSeg> collection) { | 4158 void addAll(Collection<SVGPathSeg> collection) { |
| 4164 throw new UnsupportedError("Cannot add to immutable List."); | 4159 throw new UnsupportedError("Cannot add to immutable List."); |
| 4165 } | 4160 } |
| 4166 | 4161 |
| 4167 bool contains(SVGPathSeg element) => _Collections.contains(this, element); | 4162 bool contains(SVGPathSeg element) => _Collections.contains(this, element); |
| 4168 | 4163 |
| 4169 void forEach(void f(SVGPathSeg element)) => _Collections.forEach(this, f); | 4164 void forEach(void f(SVGPathSeg element)) => _Collections.forEach(this, f); |
| 4170 | 4165 |
| 4171 Iterable mappedBy(f(SVGPathSeg element)) => new MappedIterable(this, f); | 4166 Iterable mappedBy(f(SVGPathSeg element)) => new MappedIterable(this, f); |
| 4172 | 4167 |
| 4173 Collection<SVGPathSeg> where(bool f(SVGPathSeg element)) => | 4168 Iterable<SVGPathSeg> where(bool f(SVGPathSeg element)) => new WhereIterable<SV
GPathSeg>(this, f); |
| 4174 _Collections.where(this, <SVGPathSeg>[], f); | |
| 4175 | 4169 |
| 4176 bool every(bool f(SVGPathSeg element)) => _Collections.every(this, f); | 4170 bool every(bool f(SVGPathSeg element)) => _Collections.every(this, f); |
| 4177 | 4171 |
| 4178 bool some(bool f(SVGPathSeg element)) => _Collections.some(this, f); | 4172 bool some(bool f(SVGPathSeg element)) => _Collections.some(this, f); |
| 4179 | 4173 |
| 4180 bool get isEmpty => this.length == 0; | 4174 bool get isEmpty => this.length == 0; |
| 4181 | 4175 |
| 4182 // From List<SVGPathSeg>: | 4176 // From List<SVGPathSeg>: |
| 4183 | 4177 |
| 4184 void sort([Comparator<SVGPathSeg> compare = Comparable.compare]) { | 4178 void sort([Comparator<SVGPathSeg> compare = Comparable.compare]) { |
| (...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5032 void addAll(Collection<String> collection) { | 5026 void addAll(Collection<String> collection) { |
| 5033 throw new UnsupportedError("Cannot add to immutable List."); | 5027 throw new UnsupportedError("Cannot add to immutable List."); |
| 5034 } | 5028 } |
| 5035 | 5029 |
| 5036 bool contains(String element) => _Collections.contains(this, element); | 5030 bool contains(String element) => _Collections.contains(this, element); |
| 5037 | 5031 |
| 5038 void forEach(void f(String element)) => _Collections.forEach(this, f); | 5032 void forEach(void f(String element)) => _Collections.forEach(this, f); |
| 5039 | 5033 |
| 5040 Iterable mappedBy(f(String element)) => new MappedIterable(this, f); | 5034 Iterable mappedBy(f(String element)) => new MappedIterable(this, f); |
| 5041 | 5035 |
| 5042 Collection<String> where(bool f(String element)) => | 5036 Iterable<String> where(bool f(String element)) => new WhereIterable<String>(th
is, f); |
| 5043 _Collections.where(this, <String>[], f); | |
| 5044 | 5037 |
| 5045 bool every(bool f(String element)) => _Collections.every(this, f); | 5038 bool every(bool f(String element)) => _Collections.every(this, f); |
| 5046 | 5039 |
| 5047 bool some(bool f(String element)) => _Collections.some(this, f); | 5040 bool some(bool f(String element)) => _Collections.some(this, f); |
| 5048 | 5041 |
| 5049 bool get isEmpty => this.length == 0; | 5042 bool get isEmpty => this.length == 0; |
| 5050 | 5043 |
| 5051 // From List<String>: | 5044 // From List<String>: |
| 5052 | 5045 |
| 5053 void sort([Comparator<String> compare = Comparable.compare]) { | 5046 void sort([Comparator<String> compare = Comparable.compare]) { |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5596 void addAll(Collection<SVGTransform> collection) { | 5589 void addAll(Collection<SVGTransform> collection) { |
| 5597 throw new UnsupportedError("Cannot add to immutable List."); | 5590 throw new UnsupportedError("Cannot add to immutable List."); |
| 5598 } | 5591 } |
| 5599 | 5592 |
| 5600 bool contains(SVGTransform element) => _Collections.contains(this, element); | 5593 bool contains(SVGTransform element) => _Collections.contains(this, element); |
| 5601 | 5594 |
| 5602 void forEach(void f(SVGTransform element)) => _Collections.forEach(this, f); | 5595 void forEach(void f(SVGTransform element)) => _Collections.forEach(this, f); |
| 5603 | 5596 |
| 5604 Iterable mappedBy(f(SVGTransform element)) => new MappedIterable(this, f); | 5597 Iterable mappedBy(f(SVGTransform element)) => new MappedIterable(this, f); |
| 5605 | 5598 |
| 5606 Collection<SVGTransform> where(bool f(SVGTransform element)) => | 5599 Iterable<SVGTransform> where(bool f(SVGTransform element)) => new WhereIterabl
e<SVGTransform>(this, f); |
| 5607 _Collections.where(this, <SVGTransform>[], f); | |
| 5608 | 5600 |
| 5609 bool every(bool f(SVGTransform element)) => _Collections.every(this, f); | 5601 bool every(bool f(SVGTransform element)) => _Collections.every(this, f); |
| 5610 | 5602 |
| 5611 bool some(bool f(SVGTransform element)) => _Collections.some(this, f); | 5603 bool some(bool f(SVGTransform element)) => _Collections.some(this, f); |
| 5612 | 5604 |
| 5613 bool get isEmpty => this.length == 0; | 5605 bool get isEmpty => this.length == 0; |
| 5614 | 5606 |
| 5615 // From List<SVGTransform>: | 5607 // From List<SVGTransform>: |
| 5616 | 5608 |
| 5617 void sort([Comparator<SVGTransform> compare = Comparable.compare]) { | 5609 void sort([Comparator<SVGTransform> compare = Comparable.compare]) { |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5974 void addAll(Collection<SVGElementInstance> collection) { | 5966 void addAll(Collection<SVGElementInstance> collection) { |
| 5975 throw new UnsupportedError("Cannot add to immutable List."); | 5967 throw new UnsupportedError("Cannot add to immutable List."); |
| 5976 } | 5968 } |
| 5977 | 5969 |
| 5978 bool contains(SVGElementInstance element) => _Collections.contains(this, eleme
nt); | 5970 bool contains(SVGElementInstance element) => _Collections.contains(this, eleme
nt); |
| 5979 | 5971 |
| 5980 void forEach(void f(SVGElementInstance element)) => _Collections.forEach(this,
f); | 5972 void forEach(void f(SVGElementInstance element)) => _Collections.forEach(this,
f); |
| 5981 | 5973 |
| 5982 Iterable mappedBy(f(SVGElementInstance element)) => new MappedIterable(this, f
); | 5974 Iterable mappedBy(f(SVGElementInstance element)) => new MappedIterable(this, f
); |
| 5983 | 5975 |
| 5984 Collection<SVGElementInstance> where(bool f(SVGElementInstance element)) => | 5976 Iterable<SVGElementInstance> where(bool f(SVGElementInstance element)) => new
WhereIterable<SVGElementInstance>(this, f); |
| 5985 _Collections.where(this, <SVGElementInstance>[], f); | |
| 5986 | 5977 |
| 5987 bool every(bool f(SVGElementInstance element)) => _Collections.every(this, f); | 5978 bool every(bool f(SVGElementInstance element)) => _Collections.every(this, f); |
| 5988 | 5979 |
| 5989 bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f); | 5980 bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f); |
| 5990 | 5981 |
| 5991 bool get isEmpty => this.length == 0; | 5982 bool get isEmpty => this.length == 0; |
| 5992 | 5983 |
| 5993 // From List<SVGElementInstance>: | 5984 // From List<SVGElementInstance>: |
| 5994 | 5985 |
| 5995 void sort([Comparator<SVGElementInstance> compare = Comparable.compare]) { | 5986 void sort([Comparator<SVGElementInstance> compare = Comparable.compare]) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 6023 } | 6014 } |
| 6024 | 6015 |
| 6025 List<SVGElementInstance> getRange(int start, int rangeLength) => | 6016 List<SVGElementInstance> getRange(int start, int rangeLength) => |
| 6026 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); | 6017 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); |
| 6027 | 6018 |
| 6028 // -- end List<SVGElementInstance> mixins. | 6019 // -- end List<SVGElementInstance> mixins. |
| 6029 | 6020 |
| 6030 /** @domName SVGElementInstanceList.item */ | 6021 /** @domName SVGElementInstanceList.item */ |
| 6031 SVGElementInstance item(int index) native; | 6022 SVGElementInstance item(int index) native; |
| 6032 } | 6023 } |
| OLD | NEW |