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:_collection-dev'; | 5 import 'dart:_collection-dev'; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; | 8 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; |
9 import 'dart:_foreign_helper' show JS; | 9 import 'dart:_foreign_helper' show JS; |
10 // DO NOT EDIT - unless you are editing documentation as per: | 10 // DO NOT EDIT - unless you are editing documentation as per: |
(...skipping 3154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3165 } | 3165 } |
3166 | 3166 |
3167 void retainWhere(bool test(Length element)) { | 3167 void retainWhere(bool test(Length element)) { |
3168 throw new UnsupportedError("Cannot remove from immutable List."); | 3168 throw new UnsupportedError("Cannot remove from immutable List."); |
3169 } | 3169 } |
3170 | 3170 |
3171 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount])
{ | 3171 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount])
{ |
3172 throw new UnsupportedError("Cannot setRange on immutable List."); | 3172 throw new UnsupportedError("Cannot setRange on immutable List."); |
3173 } | 3173 } |
3174 | 3174 |
3175 void removeRange(int start, int rangeLength) { | 3175 void removeRange(int start, int end) { |
3176 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3176 throw new UnsupportedError("Cannot removeRange on immutable List."); |
3177 } | 3177 } |
3178 | 3178 |
3179 void insertRange(int start, int rangeLength, [Length initialValue]) { | |
3180 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
3181 } | |
3182 | |
3183 Iterable<Length> getRange(int start, int end) => | 3179 Iterable<Length> getRange(int start, int end) => |
3184 IterableMixinWorkaround.getRangeList(this, start, end); | 3180 IterableMixinWorkaround.getRangeList(this, start, end); |
3185 | 3181 |
3186 List<Length> sublist(int start, [int end]) { | 3182 List<Length> sublist(int start, [int end]) { |
3187 if (end == null) end = length; | 3183 if (end == null) end = length; |
3188 return Lists.getRange(this, start, end, <Length>[]); | 3184 return Lists.getRange(this, start, end, <Length>[]); |
3189 } | 3185 } |
3190 | 3186 |
3191 Map<int, Length> asMap() => | 3187 Map<int, Length> asMap() => |
3192 IterableMixinWorkaround.asMapList(this); | 3188 IterableMixinWorkaround.asMapList(this); |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3797 } | 3793 } |
3798 | 3794 |
3799 void retainWhere(bool test(Number element)) { | 3795 void retainWhere(bool test(Number element)) { |
3800 throw new UnsupportedError("Cannot remove from immutable List."); | 3796 throw new UnsupportedError("Cannot remove from immutable List."); |
3801 } | 3797 } |
3802 | 3798 |
3803 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount])
{ | 3799 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount])
{ |
3804 throw new UnsupportedError("Cannot setRange on immutable List."); | 3800 throw new UnsupportedError("Cannot setRange on immutable List."); |
3805 } | 3801 } |
3806 | 3802 |
3807 void removeRange(int start, int rangeLength) { | 3803 void removeRange(int start, int end) { |
3808 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3804 throw new UnsupportedError("Cannot removeRange on immutable List."); |
3809 } | 3805 } |
3810 | 3806 |
3811 void insertRange(int start, int rangeLength, [Number initialValue]) { | |
3812 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
3813 } | |
3814 | |
3815 Iterable<Number> getRange(int start, int end) => | 3807 Iterable<Number> getRange(int start, int end) => |
3816 IterableMixinWorkaround.getRangeList(this, start, end); | 3808 IterableMixinWorkaround.getRangeList(this, start, end); |
3817 | 3809 |
3818 List<Number> sublist(int start, [int end]) { | 3810 List<Number> sublist(int start, [int end]) { |
3819 if (end == null) end = length; | 3811 if (end == null) end = length; |
3820 return Lists.getRange(this, start, end, <Number>[]); | 3812 return Lists.getRange(this, start, end, <Number>[]); |
3821 } | 3813 } |
3822 | 3814 |
3823 Map<int, Number> asMap() => | 3815 Map<int, Number> asMap() => |
3824 IterableMixinWorkaround.asMapList(this); | 3816 IterableMixinWorkaround.asMapList(this); |
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4660 } | 4652 } |
4661 | 4653 |
4662 void retainWhere(bool test(PathSeg element)) { | 4654 void retainWhere(bool test(PathSeg element)) { |
4663 throw new UnsupportedError("Cannot remove from immutable List."); | 4655 throw new UnsupportedError("Cannot remove from immutable List."); |
4664 } | 4656 } |
4665 | 4657 |
4666 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount])
{ | 4658 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount])
{ |
4667 throw new UnsupportedError("Cannot setRange on immutable List."); | 4659 throw new UnsupportedError("Cannot setRange on immutable List."); |
4668 } | 4660 } |
4669 | 4661 |
4670 void removeRange(int start, int rangeLength) { | 4662 void removeRange(int start, int end) { |
4671 throw new UnsupportedError("Cannot removeRange on immutable List."); | 4663 throw new UnsupportedError("Cannot removeRange on immutable List."); |
4672 } | 4664 } |
4673 | 4665 |
4674 void insertRange(int start, int rangeLength, [PathSeg initialValue]) { | |
4675 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
4676 } | |
4677 | |
4678 Iterable<PathSeg> getRange(int start, int end) => | 4666 Iterable<PathSeg> getRange(int start, int end) => |
4679 IterableMixinWorkaround.getRangeList(this, start, end); | 4667 IterableMixinWorkaround.getRangeList(this, start, end); |
4680 | 4668 |
4681 List<PathSeg> sublist(int start, [int end]) { | 4669 List<PathSeg> sublist(int start, [int end]) { |
4682 if (end == null) end = length; | 4670 if (end == null) end = length; |
4683 return Lists.getRange(this, start, end, <PathSeg>[]); | 4671 return Lists.getRange(this, start, end, <PathSeg>[]); |
4684 } | 4672 } |
4685 | 4673 |
4686 Map<int, PathSeg> asMap() => | 4674 Map<int, PathSeg> asMap() => |
4687 IterableMixinWorkaround.asMapList(this); | 4675 IterableMixinWorkaround.asMapList(this); |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5553 } | 5541 } |
5554 | 5542 |
5555 void retainWhere(bool test(String element)) { | 5543 void retainWhere(bool test(String element)) { |
5556 throw new UnsupportedError("Cannot remove from immutable List."); | 5544 throw new UnsupportedError("Cannot remove from immutable List."); |
5557 } | 5545 } |
5558 | 5546 |
5559 void setRange(int start, int end, Iterable<String> iterable, [int skipCount])
{ | 5547 void setRange(int start, int end, Iterable<String> iterable, [int skipCount])
{ |
5560 throw new UnsupportedError("Cannot setRange on immutable List."); | 5548 throw new UnsupportedError("Cannot setRange on immutable List."); |
5561 } | 5549 } |
5562 | 5550 |
5563 void removeRange(int start, int rangeLength) { | 5551 void removeRange(int start, int end) { |
5564 throw new UnsupportedError("Cannot removeRange on immutable List."); | 5552 throw new UnsupportedError("Cannot removeRange on immutable List."); |
5565 } | 5553 } |
5566 | 5554 |
5567 void insertRange(int start, int rangeLength, [String initialValue]) { | |
5568 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
5569 } | |
5570 | |
5571 Iterable<String> getRange(int start, int end) => | 5555 Iterable<String> getRange(int start, int end) => |
5572 IterableMixinWorkaround.getRangeList(this, start, end); | 5556 IterableMixinWorkaround.getRangeList(this, start, end); |
5573 | 5557 |
5574 List<String> sublist(int start, [int end]) { | 5558 List<String> sublist(int start, [int end]) { |
5575 if (end == null) end = length; | 5559 if (end == null) end = length; |
5576 return Lists.getRange(this, start, end, <String>[]); | 5560 return Lists.getRange(this, start, end, <String>[]); |
5577 } | 5561 } |
5578 | 5562 |
5579 Map<int, String> asMap() => | 5563 Map<int, String> asMap() => |
5580 IterableMixinWorkaround.asMapList(this); | 5564 IterableMixinWorkaround.asMapList(this); |
(...skipping 1138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6719 } | 6703 } |
6720 | 6704 |
6721 void retainWhere(bool test(Transform element)) { | 6705 void retainWhere(bool test(Transform element)) { |
6722 throw new UnsupportedError("Cannot remove from immutable List."); | 6706 throw new UnsupportedError("Cannot remove from immutable List."); |
6723 } | 6707 } |
6724 | 6708 |
6725 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount
]) { | 6709 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount
]) { |
6726 throw new UnsupportedError("Cannot setRange on immutable List."); | 6710 throw new UnsupportedError("Cannot setRange on immutable List."); |
6727 } | 6711 } |
6728 | 6712 |
6729 void removeRange(int start, int rangeLength) { | 6713 void removeRange(int start, int end) { |
6730 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6714 throw new UnsupportedError("Cannot removeRange on immutable List."); |
6731 } | 6715 } |
6732 | 6716 |
6733 void insertRange(int start, int rangeLength, [Transform initialValue]) { | |
6734 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
6735 } | |
6736 | |
6737 Iterable<Transform> getRange(int start, int end) => | 6717 Iterable<Transform> getRange(int start, int end) => |
6738 IterableMixinWorkaround.getRangeList(this, start, end); | 6718 IterableMixinWorkaround.getRangeList(this, start, end); |
6739 | 6719 |
6740 List<Transform> sublist(int start, [int end]) { | 6720 List<Transform> sublist(int start, [int end]) { |
6741 if (end == null) end = length; | 6721 if (end == null) end = length; |
6742 return Lists.getRange(this, start, end, <Transform>[]); | 6722 return Lists.getRange(this, start, end, <Transform>[]); |
6743 } | 6723 } |
6744 | 6724 |
6745 Map<int, Transform> asMap() => | 6725 Map<int, Transform> asMap() => |
6746 IterableMixinWorkaround.asMapList(this); | 6726 IterableMixinWorkaround.asMapList(this); |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7246 } | 7226 } |
7247 | 7227 |
7248 void retainWhere(bool test(ElementInstance element)) { | 7228 void retainWhere(bool test(ElementInstance element)) { |
7249 throw new UnsupportedError("Cannot remove from immutable List."); | 7229 throw new UnsupportedError("Cannot remove from immutable List."); |
7250 } | 7230 } |
7251 | 7231 |
7252 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski
pCount]) { | 7232 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski
pCount]) { |
7253 throw new UnsupportedError("Cannot setRange on immutable List."); | 7233 throw new UnsupportedError("Cannot setRange on immutable List."); |
7254 } | 7234 } |
7255 | 7235 |
7256 void removeRange(int start, int rangeLength) { | 7236 void removeRange(int start, int end) { |
7257 throw new UnsupportedError("Cannot removeRange on immutable List."); | 7237 throw new UnsupportedError("Cannot removeRange on immutable List."); |
7258 } | 7238 } |
7259 | 7239 |
7260 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { | |
7261 throw new UnsupportedError("Cannot insertRange on immutable List."); | |
7262 } | |
7263 | |
7264 Iterable<ElementInstance> getRange(int start, int end) => | 7240 Iterable<ElementInstance> getRange(int start, int end) => |
7265 IterableMixinWorkaround.getRangeList(this, start, end); | 7241 IterableMixinWorkaround.getRangeList(this, start, end); |
7266 | 7242 |
7267 List<ElementInstance> sublist(int start, [int end]) { | 7243 List<ElementInstance> sublist(int start, [int end]) { |
7268 if (end == null) end = length; | 7244 if (end == null) end = length; |
7269 return Lists.getRange(this, start, end, <ElementInstance>[]); | 7245 return Lists.getRange(this, start, end, <ElementInstance>[]); |
7270 } | 7246 } |
7271 | 7247 |
7272 Map<int, ElementInstance> asMap() => | 7248 Map<int, ElementInstance> asMap() => |
7273 IterableMixinWorkaround.asMapList(this); | 7249 IterableMixinWorkaround.asMapList(this); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7554 | 7530 |
7555 | 7531 |
7556 @DocsEditable | 7532 @DocsEditable |
7557 @DomName('SVGVKernElement') | 7533 @DomName('SVGVKernElement') |
7558 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { | 7534 abstract class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { |
7559 | 7535 |
7560 @DomName('SVGVKernElement.SVGVKernElement') | 7536 @DomName('SVGVKernElement.SVGVKernElement') |
7561 @DocsEditable | 7537 @DocsEditable |
7562 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7538 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
7563 } | 7539 } |
OLD | NEW |