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:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; | 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; |
8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
9 // DO NOT EDIT - unless you are editing documentation as per: | 9 // DO NOT EDIT - unless you are editing documentation as per: |
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
(...skipping 3224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3235 if (end == null) end = length; | 3235 if (end == null) end = length; |
3236 return Lists.getRange(this, start, end, <Length>[]); | 3236 return Lists.getRange(this, start, end, <Length>[]); |
3237 } | 3237 } |
3238 | 3238 |
3239 List<Length> getRange(int start, int rangeLength) => | 3239 List<Length> getRange(int start, int rangeLength) => |
3240 sublist(start, start + rangeLength); | 3240 sublist(start, start + rangeLength); |
3241 | 3241 |
3242 Map<int, Length> asMap() => | 3242 Map<int, Length> asMap() => |
3243 IterableMixinWorkaround.asMapList(this); | 3243 IterableMixinWorkaround.asMapList(this); |
3244 | 3244 |
| 3245 String toString() { |
| 3246 StringBuffer buffer = new StringBuffer('['); |
| 3247 buffer.writeAll(this, ', '); |
| 3248 buffer.write(']'); |
| 3249 return buffer.toString(); |
| 3250 } |
| 3251 |
3245 // -- end List<Length> mixins. | 3252 // -- end List<Length> mixins. |
3246 | 3253 |
3247 @DomName('SVGLengthList.appendItem') | 3254 @DomName('SVGLengthList.appendItem') |
3248 @DocsEditable | 3255 @DocsEditable |
3249 Length appendItem(Length item) native; | 3256 Length appendItem(Length item) native; |
3250 | 3257 |
3251 @DomName('SVGLengthList.clear') | 3258 @DomName('SVGLengthList.clear') |
3252 @DocsEditable | 3259 @DocsEditable |
3253 void clear() native; | 3260 void clear() native; |
3254 | 3261 |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3873 if (end == null) end = length; | 3880 if (end == null) end = length; |
3874 return Lists.getRange(this, start, end, <Number>[]); | 3881 return Lists.getRange(this, start, end, <Number>[]); |
3875 } | 3882 } |
3876 | 3883 |
3877 List<Number> getRange(int start, int rangeLength) => | 3884 List<Number> getRange(int start, int rangeLength) => |
3878 sublist(start, start + rangeLength); | 3885 sublist(start, start + rangeLength); |
3879 | 3886 |
3880 Map<int, Number> asMap() => | 3887 Map<int, Number> asMap() => |
3881 IterableMixinWorkaround.asMapList(this); | 3888 IterableMixinWorkaround.asMapList(this); |
3882 | 3889 |
| 3890 String toString() { |
| 3891 StringBuffer buffer = new StringBuffer('['); |
| 3892 buffer.writeAll(this, ', '); |
| 3893 buffer.write(']'); |
| 3894 return buffer.toString(); |
| 3895 } |
| 3896 |
3883 // -- end List<Number> mixins. | 3897 // -- end List<Number> mixins. |
3884 | 3898 |
3885 @DomName('SVGNumberList.appendItem') | 3899 @DomName('SVGNumberList.appendItem') |
3886 @DocsEditable | 3900 @DocsEditable |
3887 Number appendItem(Number item) native; | 3901 Number appendItem(Number item) native; |
3888 | 3902 |
3889 @DomName('SVGNumberList.clear') | 3903 @DomName('SVGNumberList.clear') |
3890 @DocsEditable | 3904 @DocsEditable |
3891 void clear() native; | 3905 void clear() native; |
3892 | 3906 |
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4787 if (end == null) end = length; | 4801 if (end == null) end = length; |
4788 return Lists.getRange(this, start, end, <PathSeg>[]); | 4802 return Lists.getRange(this, start, end, <PathSeg>[]); |
4789 } | 4803 } |
4790 | 4804 |
4791 List<PathSeg> getRange(int start, int rangeLength) => | 4805 List<PathSeg> getRange(int start, int rangeLength) => |
4792 sublist(start, start + rangeLength); | 4806 sublist(start, start + rangeLength); |
4793 | 4807 |
4794 Map<int, PathSeg> asMap() => | 4808 Map<int, PathSeg> asMap() => |
4795 IterableMixinWorkaround.asMapList(this); | 4809 IterableMixinWorkaround.asMapList(this); |
4796 | 4810 |
| 4811 String toString() { |
| 4812 StringBuffer buffer = new StringBuffer('['); |
| 4813 buffer.writeAll(this, ', '); |
| 4814 buffer.write(']'); |
| 4815 return buffer.toString(); |
| 4816 } |
| 4817 |
4797 // -- end List<PathSeg> mixins. | 4818 // -- end List<PathSeg> mixins. |
4798 | 4819 |
4799 @DomName('SVGPathSegList.appendItem') | 4820 @DomName('SVGPathSegList.appendItem') |
4800 @DocsEditable | 4821 @DocsEditable |
4801 PathSeg appendItem(PathSeg newItem) native; | 4822 PathSeg appendItem(PathSeg newItem) native; |
4802 | 4823 |
4803 @DomName('SVGPathSegList.clear') | 4824 @DomName('SVGPathSegList.clear') |
4804 @DocsEditable | 4825 @DocsEditable |
4805 void clear() native; | 4826 void clear() native; |
4806 | 4827 |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5686 if (end == null) end = length; | 5707 if (end == null) end = length; |
5687 return Lists.getRange(this, start, end, <String>[]); | 5708 return Lists.getRange(this, start, end, <String>[]); |
5688 } | 5709 } |
5689 | 5710 |
5690 List<String> getRange(int start, int rangeLength) => | 5711 List<String> getRange(int start, int rangeLength) => |
5691 sublist(start, start + rangeLength); | 5712 sublist(start, start + rangeLength); |
5692 | 5713 |
5693 Map<int, String> asMap() => | 5714 Map<int, String> asMap() => |
5694 IterableMixinWorkaround.asMapList(this); | 5715 IterableMixinWorkaround.asMapList(this); |
5695 | 5716 |
| 5717 String toString() { |
| 5718 StringBuffer buffer = new StringBuffer('['); |
| 5719 buffer.writeAll(this, ', '); |
| 5720 buffer.write(']'); |
| 5721 return buffer.toString(); |
| 5722 } |
| 5723 |
5696 // -- end List<String> mixins. | 5724 // -- end List<String> mixins. |
5697 | 5725 |
5698 @DomName('SVGStringList.appendItem') | 5726 @DomName('SVGStringList.appendItem') |
5699 @DocsEditable | 5727 @DocsEditable |
5700 String appendItem(String item) native; | 5728 String appendItem(String item) native; |
5701 | 5729 |
5702 @DomName('SVGStringList.clear') | 5730 @DomName('SVGStringList.clear') |
5703 @DocsEditable | 5731 @DocsEditable |
5704 void clear() native; | 5732 void clear() native; |
5705 | 5733 |
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6862 if (end == null) end = length; | 6890 if (end == null) end = length; |
6863 return Lists.getRange(this, start, end, <Transform>[]); | 6891 return Lists.getRange(this, start, end, <Transform>[]); |
6864 } | 6892 } |
6865 | 6893 |
6866 List<Transform> getRange(int start, int rangeLength) => | 6894 List<Transform> getRange(int start, int rangeLength) => |
6867 sublist(start, start + rangeLength); | 6895 sublist(start, start + rangeLength); |
6868 | 6896 |
6869 Map<int, Transform> asMap() => | 6897 Map<int, Transform> asMap() => |
6870 IterableMixinWorkaround.asMapList(this); | 6898 IterableMixinWorkaround.asMapList(this); |
6871 | 6899 |
| 6900 String toString() { |
| 6901 StringBuffer buffer = new StringBuffer('['); |
| 6902 buffer.writeAll(this, ', '); |
| 6903 buffer.write(']'); |
| 6904 return buffer.toString(); |
| 6905 } |
| 6906 |
6872 // -- end List<Transform> mixins. | 6907 // -- end List<Transform> mixins. |
6873 | 6908 |
6874 @DomName('SVGTransformList.appendItem') | 6909 @DomName('SVGTransformList.appendItem') |
6875 @DocsEditable | 6910 @DocsEditable |
6876 Transform appendItem(Transform item) native; | 6911 Transform appendItem(Transform item) native; |
6877 | 6912 |
6878 @DomName('SVGTransformList.clear') | 6913 @DomName('SVGTransformList.clear') |
6879 @DocsEditable | 6914 @DocsEditable |
6880 void clear() native; | 6915 void clear() native; |
6881 | 6916 |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7395 if (end == null) end = length; | 7430 if (end == null) end = length; |
7396 return Lists.getRange(this, start, end, <ElementInstance>[]); | 7431 return Lists.getRange(this, start, end, <ElementInstance>[]); |
7397 } | 7432 } |
7398 | 7433 |
7399 List<ElementInstance> getRange(int start, int rangeLength) => | 7434 List<ElementInstance> getRange(int start, int rangeLength) => |
7400 sublist(start, start + rangeLength); | 7435 sublist(start, start + rangeLength); |
7401 | 7436 |
7402 Map<int, ElementInstance> asMap() => | 7437 Map<int, ElementInstance> asMap() => |
7403 IterableMixinWorkaround.asMapList(this); | 7438 IterableMixinWorkaround.asMapList(this); |
7404 | 7439 |
| 7440 String toString() { |
| 7441 StringBuffer buffer = new StringBuffer('['); |
| 7442 buffer.writeAll(this, ', '); |
| 7443 buffer.write(']'); |
| 7444 return buffer.toString(); |
| 7445 } |
| 7446 |
7405 // -- end List<ElementInstance> mixins. | 7447 // -- end List<ElementInstance> mixins. |
7406 | 7448 |
7407 @DomName('SVGElementInstanceList.item') | 7449 @DomName('SVGElementInstanceList.item') |
7408 @DocsEditable | 7450 @DocsEditable |
7409 ElementInstance item(int index) native; | 7451 ElementInstance item(int index) native; |
7410 } | 7452 } |
7411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7412 // for details. All rights reserved. Use of this source code is governed by a | 7454 // for details. All rights reserved. Use of this source code is governed by a |
7413 // BSD-style license that can be found in the LICENSE file. | 7455 // BSD-style license that can be found in the LICENSE file. |
7414 | 7456 |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7813 | 7855 |
7814 | 7856 |
7815 @DocsEditable | 7857 @DocsEditable |
7816 @DomName('SVGVKernElement') | 7858 @DomName('SVGVKernElement') |
7817 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { | 7859 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { |
7818 | 7860 |
7819 @DomName('SVGVKernElement.SVGVKernElement') | 7861 @DomName('SVGVKernElement.SVGVKernElement') |
7820 @DocsEditable | 7862 @DocsEditable |
7821 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7863 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
7822 } | 7864 } |
OLD | NEW |