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 3318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3329 // for consistency. | 3329 // for consistency. |
3330 return new FixedSizeListIterator<Length>(this); | 3330 return new FixedSizeListIterator<Length>(this); |
3331 } | 3331 } |
3332 | 3332 |
3333 // SVG Collections expose numberOfItems rather than length. | 3333 // SVG Collections expose numberOfItems rather than length. |
3334 int get length => numberOfItems; | 3334 int get length => numberOfItems; |
3335 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Length)) { | 3335 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Length)) { |
3336 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 3336 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
3337 } | 3337 } |
3338 | 3338 |
| 3339 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Length)) { |
| 3340 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 3341 } |
| 3342 |
3339 bool contains(Length element) => IterableMixinWorkaround.contains(this, elemen
t); | 3343 bool contains(Length element) => IterableMixinWorkaround.contains(this, elemen
t); |
3340 | 3344 |
3341 void forEach(void f(Length element)) => IterableMixinWorkaround.forEach(this,
f); | 3345 void forEach(void f(Length element)) => IterableMixinWorkaround.forEach(this,
f); |
3342 | 3346 |
3343 String join([String separator]) => | 3347 String join([String separator]) => |
3344 IterableMixinWorkaround.joinList(this, separator); | 3348 IterableMixinWorkaround.joinList(this, separator); |
3345 | 3349 |
3346 Iterable map(f(Length element)) => | 3350 Iterable map(f(Length element)) => |
3347 IterableMixinWorkaround.mapList(this, f); | 3351 IterableMixinWorkaround.mapList(this, f); |
3348 | 3352 |
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4040 // for consistency. | 4044 // for consistency. |
4041 return new FixedSizeListIterator<Number>(this); | 4045 return new FixedSizeListIterator<Number>(this); |
4042 } | 4046 } |
4043 | 4047 |
4044 // SVG Collections expose numberOfItems rather than length. | 4048 // SVG Collections expose numberOfItems rather than length. |
4045 int get length => numberOfItems; | 4049 int get length => numberOfItems; |
4046 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Number)) { | 4050 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Number)) { |
4047 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 4051 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
4048 } | 4052 } |
4049 | 4053 |
| 4054 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Number)) { |
| 4055 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 4056 } |
| 4057 |
4050 bool contains(Number element) => IterableMixinWorkaround.contains(this, elemen
t); | 4058 bool contains(Number element) => IterableMixinWorkaround.contains(this, elemen
t); |
4051 | 4059 |
4052 void forEach(void f(Number element)) => IterableMixinWorkaround.forEach(this,
f); | 4060 void forEach(void f(Number element)) => IterableMixinWorkaround.forEach(this,
f); |
4053 | 4061 |
4054 String join([String separator]) => | 4062 String join([String separator]) => |
4055 IterableMixinWorkaround.joinList(this, separator); | 4063 IterableMixinWorkaround.joinList(this, separator); |
4056 | 4064 |
4057 Iterable map(f(Number element)) => | 4065 Iterable map(f(Number element)) => |
4058 IterableMixinWorkaround.mapList(this, f); | 4066 IterableMixinWorkaround.mapList(this, f); |
4059 | 4067 |
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5227 // for consistency. | 5235 // for consistency. |
5228 return new FixedSizeListIterator<PathSeg>(this); | 5236 return new FixedSizeListIterator<PathSeg>(this); |
5229 } | 5237 } |
5230 | 5238 |
5231 // SVG Collections expose numberOfItems rather than length. | 5239 // SVG Collections expose numberOfItems rather than length. |
5232 int get length => numberOfItems; | 5240 int get length => numberOfItems; |
5233 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, PathSeg)) { | 5241 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, PathSeg)) { |
5234 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 5242 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
5235 } | 5243 } |
5236 | 5244 |
| 5245 dynamic fold(dynamic initialValue, dynamic combine(dynamic, PathSeg)) { |
| 5246 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 5247 } |
| 5248 |
5237 bool contains(PathSeg element) => IterableMixinWorkaround.contains(this, eleme
nt); | 5249 bool contains(PathSeg element) => IterableMixinWorkaround.contains(this, eleme
nt); |
5238 | 5250 |
5239 void forEach(void f(PathSeg element)) => IterableMixinWorkaround.forEach(this,
f); | 5251 void forEach(void f(PathSeg element)) => IterableMixinWorkaround.forEach(this,
f); |
5240 | 5252 |
5241 String join([String separator]) => | 5253 String join([String separator]) => |
5242 IterableMixinWorkaround.joinList(this, separator); | 5254 IterableMixinWorkaround.joinList(this, separator); |
5243 | 5255 |
5244 Iterable map(f(PathSeg element)) => | 5256 Iterable map(f(PathSeg element)) => |
5245 IterableMixinWorkaround.mapList(this, f); | 5257 IterableMixinWorkaround.mapList(this, f); |
5246 | 5258 |
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6219 // for consistency. | 6231 // for consistency. |
6220 return new FixedSizeListIterator<String>(this); | 6232 return new FixedSizeListIterator<String>(this); |
6221 } | 6233 } |
6222 | 6234 |
6223 // SVG Collections expose numberOfItems rather than length. | 6235 // SVG Collections expose numberOfItems rather than length. |
6224 int get length => numberOfItems; | 6236 int get length => numberOfItems; |
6225 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, String)) { | 6237 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, String)) { |
6226 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 6238 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
6227 } | 6239 } |
6228 | 6240 |
| 6241 dynamic fold(dynamic initialValue, dynamic combine(dynamic, String)) { |
| 6242 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 6243 } |
| 6244 |
6229 bool contains(String element) => IterableMixinWorkaround.contains(this, elemen
t); | 6245 bool contains(String element) => IterableMixinWorkaround.contains(this, elemen
t); |
6230 | 6246 |
6231 void forEach(void f(String element)) => IterableMixinWorkaround.forEach(this,
f); | 6247 void forEach(void f(String element)) => IterableMixinWorkaround.forEach(this,
f); |
6232 | 6248 |
6233 String join([String separator]) => | 6249 String join([String separator]) => |
6234 IterableMixinWorkaround.joinList(this, separator); | 6250 IterableMixinWorkaround.joinList(this, separator); |
6235 | 6251 |
6236 Iterable map(f(String element)) => | 6252 Iterable map(f(String element)) => |
6237 IterableMixinWorkaround.mapList(this, f); | 6253 IterableMixinWorkaround.mapList(this, f); |
6238 | 6254 |
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7480 // for consistency. | 7496 // for consistency. |
7481 return new FixedSizeListIterator<Transform>(this); | 7497 return new FixedSizeListIterator<Transform>(this); |
7482 } | 7498 } |
7483 | 7499 |
7484 // SVG Collections expose numberOfItems rather than length. | 7500 // SVG Collections expose numberOfItems rather than length. |
7485 int get length => numberOfItems; | 7501 int get length => numberOfItems; |
7486 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Transform)) { | 7502 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, Transform)) { |
7487 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 7503 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
7488 } | 7504 } |
7489 | 7505 |
| 7506 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Transform)) { |
| 7507 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 7508 } |
| 7509 |
7490 bool contains(Transform element) => IterableMixinWorkaround.contains(this, ele
ment); | 7510 bool contains(Transform element) => IterableMixinWorkaround.contains(this, ele
ment); |
7491 | 7511 |
7492 void forEach(void f(Transform element)) => IterableMixinWorkaround.forEach(thi
s, f); | 7512 void forEach(void f(Transform element)) => IterableMixinWorkaround.forEach(thi
s, f); |
7493 | 7513 |
7494 String join([String separator]) => | 7514 String join([String separator]) => |
7495 IterableMixinWorkaround.joinList(this, separator); | 7515 IterableMixinWorkaround.joinList(this, separator); |
7496 | 7516 |
7497 Iterable map(f(Transform element)) => | 7517 Iterable map(f(Transform element)) => |
7498 IterableMixinWorkaround.mapList(this, f); | 7518 IterableMixinWorkaround.mapList(this, f); |
7499 | 7519 |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8061 // Note: NodeLists are not fixed size. And most probably length shouldn't | 8081 // Note: NodeLists are not fixed size. And most probably length shouldn't |
8062 // be cached in both iterator _and_ forEach method. For now caching it | 8082 // be cached in both iterator _and_ forEach method. For now caching it |
8063 // for consistency. | 8083 // for consistency. |
8064 return new FixedSizeListIterator<ElementInstance>(this); | 8084 return new FixedSizeListIterator<ElementInstance>(this); |
8065 } | 8085 } |
8066 | 8086 |
8067 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ElementInstance)
) { | 8087 dynamic reduce(dynamic initialValue, dynamic combine(dynamic, ElementInstance)
) { |
8068 return IterableMixinWorkaround.reduce(this, initialValue, combine); | 8088 return IterableMixinWorkaround.reduce(this, initialValue, combine); |
8069 } | 8089 } |
8070 | 8090 |
| 8091 dynamic fold(dynamic initialValue, dynamic combine(dynamic, ElementInstance))
{ |
| 8092 return IterableMixinWorkaround.fold(this, initialValue, combine); |
| 8093 } |
| 8094 |
8071 bool contains(ElementInstance element) => IterableMixinWorkaround.contains(thi
s, element); | 8095 bool contains(ElementInstance element) => IterableMixinWorkaround.contains(thi
s, element); |
8072 | 8096 |
8073 void forEach(void f(ElementInstance element)) => IterableMixinWorkaround.forEa
ch(this, f); | 8097 void forEach(void f(ElementInstance element)) => IterableMixinWorkaround.forEa
ch(this, f); |
8074 | 8098 |
8075 String join([String separator]) => | 8099 String join([String separator]) => |
8076 IterableMixinWorkaround.joinList(this, separator); | 8100 IterableMixinWorkaround.joinList(this, separator); |
8077 | 8101 |
8078 Iterable map(f(ElementInstance element)) => | 8102 Iterable map(f(ElementInstance element)) => |
8079 IterableMixinWorkaround.mapList(this, f); | 8103 IterableMixinWorkaround.mapList(this, f); |
8080 | 8104 |
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8730 @DocsEditable | 8754 @DocsEditable |
8731 @DomName('SVGVKernElement') | 8755 @DomName('SVGVKernElement') |
8732 class _SVGVKernElement extends SvgElement { | 8756 class _SVGVKernElement extends SvgElement { |
8733 _SVGVKernElement.internal() : super.internal(); | 8757 _SVGVKernElement.internal() : super.internal(); |
8734 | 8758 |
8735 @DomName('SVGVKernElement.SVGVKernElement') | 8759 @DomName('SVGVKernElement.SVGVKernElement') |
8736 @DocsEditable | 8760 @DocsEditable |
8737 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8761 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
8738 | 8762 |
8739 } | 8763 } |
OLD | NEW |