| 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' hide deprecated; | 5 import 'dart:_collection-dev' hide deprecated; |
| 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, JSName; |
| 9 import 'dart:_foreign_helper' show JS; | 9 import 'dart:_foreign_helper' show JS; |
| 10 import 'dart:_interceptors' show Interceptor; | 10 import 'dart:_interceptors' show Interceptor; |
| 11 // DO NOT EDIT - unless you are editing documentation as per: | 11 // DO NOT EDIT - unless you are editing documentation as per: |
| 12 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 12 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 13 // Auto-generated dart:svg library. | 13 // Auto-generated dart:svg library. |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| (...skipping 2733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2752 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 2752 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 2753 } | 2753 } |
| 2754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2754 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2755 // for details. All rights reserved. Use of this source code is governed by a | 2755 // for details. All rights reserved. Use of this source code is governed by a |
| 2756 // BSD-style license that can be found in the LICENSE file. | 2756 // BSD-style license that can be found in the LICENSE file. |
| 2757 | 2757 |
| 2758 | 2758 |
| 2759 @DocsEditable() | 2759 @DocsEditable() |
| 2760 @DomName('SVGLengthList') | 2760 @DomName('SVGLengthList') |
| 2761 @Unstable() | 2761 @Unstable() |
| 2762 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements JavaScriptIndexingBehavior, List<Length> native "SVGLengthLis
t" { | 2762 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements List<Length> native "SVGLengthList" { |
| 2763 | 2763 |
| 2764 @DomName('SVGLengthList.numberOfItems') | 2764 @DomName('SVGLengthList.numberOfItems') |
| 2765 @DocsEditable() | 2765 @DocsEditable() |
| 2766 final int numberOfItems; | 2766 final int numberOfItems; |
| 2767 | 2767 |
| 2768 Length operator[](int index) { | 2768 Length operator[](int index) { |
| 2769 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 2769 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 2770 index, index, length)) | 2770 index, index, length)) |
| 2771 throw new RangeError.range(index, 0, length); | 2771 throw new RangeError.range(index, 0, length); |
| 2772 return this.getItem(index); | 2772 return this.getItem(index); |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3170 num value; | 3170 num value; |
| 3171 } | 3171 } |
| 3172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3172 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3173 // for details. All rights reserved. Use of this source code is governed by a | 3173 // for details. All rights reserved. Use of this source code is governed by a |
| 3174 // BSD-style license that can be found in the LICENSE file. | 3174 // BSD-style license that can be found in the LICENSE file. |
| 3175 | 3175 |
| 3176 | 3176 |
| 3177 @DocsEditable() | 3177 @DocsEditable() |
| 3178 @DomName('SVGNumberList') | 3178 @DomName('SVGNumberList') |
| 3179 @Unstable() | 3179 @Unstable() |
| 3180 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements JavaScriptIndexingBehavior, List<Number> native "SVGNumberLis
t" { | 3180 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements List<Number> native "SVGNumberList" { |
| 3181 | 3181 |
| 3182 @DomName('SVGNumberList.numberOfItems') | 3182 @DomName('SVGNumberList.numberOfItems') |
| 3183 @DocsEditable() | 3183 @DocsEditable() |
| 3184 final int numberOfItems; | 3184 final int numberOfItems; |
| 3185 | 3185 |
| 3186 Number operator[](int index) { | 3186 Number operator[](int index) { |
| 3187 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3187 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3188 index, index, length)) | 3188 index, index, length)) |
| 3189 throw new RangeError.range(index, 0, length); | 3189 throw new RangeError.range(index, 0, length); |
| 3190 return this.getItem(index); | 3190 return this.getItem(index); |
| (...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3925 num y; | 3925 num y; |
| 3926 } | 3926 } |
| 3927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3928 // for details. All rights reserved. Use of this source code is governed by a | 3928 // for details. All rights reserved. Use of this source code is governed by a |
| 3929 // BSD-style license that can be found in the LICENSE file. | 3929 // BSD-style license that can be found in the LICENSE file. |
| 3930 | 3930 |
| 3931 | 3931 |
| 3932 @DocsEditable() | 3932 @DocsEditable() |
| 3933 @DomName('SVGPathSegList') | 3933 @DomName('SVGPathSegList') |
| 3934 @Unstable() | 3934 @Unstable() |
| 3935 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements JavaScriptIndexingBehavior, List<PathSeg> native "SVGPathS
egList" { | 3935 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements List<PathSeg> native "SVGPathSegList" { |
| 3936 | 3936 |
| 3937 @DomName('SVGPathSegList.numberOfItems') | 3937 @DomName('SVGPathSegList.numberOfItems') |
| 3938 @DocsEditable() | 3938 @DocsEditable() |
| 3939 final int numberOfItems; | 3939 final int numberOfItems; |
| 3940 | 3940 |
| 3941 PathSeg operator[](int index) { | 3941 PathSeg operator[](int index) { |
| 3942 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3942 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3943 index, index, length)) | 3943 index, index, length)) |
| 3944 throw new RangeError.range(index, 0, length); | 3944 throw new RangeError.range(index, 0, length); |
| 3945 return this.getItem(index); | 3945 return this.getItem(index); |
| (...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4556 final AnimatedNumber gradientOffset; | 4556 final AnimatedNumber gradientOffset; |
| 4557 } | 4557 } |
| 4558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4559 // for details. All rights reserved. Use of this source code is governed by a | 4559 // for details. All rights reserved. Use of this source code is governed by a |
| 4560 // BSD-style license that can be found in the LICENSE file. | 4560 // BSD-style license that can be found in the LICENSE file. |
| 4561 | 4561 |
| 4562 | 4562 |
| 4563 @DocsEditable() | 4563 @DocsEditable() |
| 4564 @DomName('SVGStringList') | 4564 @DomName('SVGStringList') |
| 4565 @Unstable() | 4565 @Unstable() |
| 4566 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements JavaScriptIndexingBehavior, List<String> native "SVGStringLis
t" { | 4566 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements List<String> native "SVGStringList" { |
| 4567 | 4567 |
| 4568 @DomName('SVGStringList.numberOfItems') | 4568 @DomName('SVGStringList.numberOfItems') |
| 4569 @DocsEditable() | 4569 @DocsEditable() |
| 4570 final int numberOfItems; | 4570 final int numberOfItems; |
| 4571 | 4571 |
| 4572 String operator[](int index) { | 4572 String operator[](int index) { |
| 4573 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 4573 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 4574 index, index, length)) | 4574 index, index, length)) |
| 4575 throw new RangeError.range(index, 0, length); | 4575 throw new RangeError.range(index, 0, length); |
| 4576 return this.getItem(index); | 4576 return this.getItem(index); |
| (...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5439 void setTranslate(num tx, num ty) native; | 5439 void setTranslate(num tx, num ty) native; |
| 5440 } | 5440 } |
| 5441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5441 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5442 // for details. All rights reserved. Use of this source code is governed by a | 5442 // for details. All rights reserved. Use of this source code is governed by a |
| 5443 // BSD-style license that can be found in the LICENSE file. | 5443 // BSD-style license that can be found in the LICENSE file. |
| 5444 | 5444 |
| 5445 | 5445 |
| 5446 @DocsEditable() | 5446 @DocsEditable() |
| 5447 @DomName('SVGTransformList') | 5447 @DomName('SVGTransformList') |
| 5448 @Unstable() | 5448 @Unstable() |
| 5449 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List<Transform>, JavaScriptIndexingBehavior native "
SVGTransformList" { | 5449 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List<Transform> native "SVGTransformList" { |
| 5450 | 5450 |
| 5451 @DomName('SVGTransformList.numberOfItems') | 5451 @DomName('SVGTransformList.numberOfItems') |
| 5452 @DocsEditable() | 5452 @DocsEditable() |
| 5453 final int numberOfItems; | 5453 final int numberOfItems; |
| 5454 | 5454 |
| 5455 Transform operator[](int index) { | 5455 Transform operator[](int index) { |
| 5456 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 5456 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 5457 index, index, length)) | 5457 index, index, length)) |
| 5458 throw new RangeError.range(index, 0, length); | 5458 throw new RangeError.range(index, 0, length); |
| 5459 return this.getItem(index); | 5459 return this.getItem(index); |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5789 final Rect zoomRectScreen; | 5789 final Rect zoomRectScreen; |
| 5790 } | 5790 } |
| 5791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5792 // for details. All rights reserved. Use of this source code is governed by a | 5792 // for details. All rights reserved. Use of this source code is governed by a |
| 5793 // BSD-style license that can be found in the LICENSE file. | 5793 // BSD-style license that can be found in the LICENSE file. |
| 5794 | 5794 |
| 5795 | 5795 |
| 5796 @DocsEditable() | 5796 @DocsEditable() |
| 5797 @DomName('SVGElementInstanceList') | 5797 @DomName('SVGElementInstanceList') |
| 5798 @Unstable() | 5798 @Unstable() |
| 5799 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements JavaScriptIndexingBehavior, List<
ElementInstance> native "SVGElementInstanceList" { | 5799 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements List<ElementInstance> native "SVG
ElementInstanceList" { |
| 5800 | 5800 |
| 5801 @DomName('SVGElementInstanceList.length') | 5801 @DomName('SVGElementInstanceList.length') |
| 5802 @DocsEditable() | 5802 @DocsEditable() |
| 5803 int get length => JS("int", "#.length", this); | 5803 int get length => JS("int", "#.length", this); |
| 5804 | 5804 |
| 5805 ElementInstance operator[](int index) { | 5805 ElementInstance operator[](int index) { |
| 5806 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 5806 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 5807 index, index, length)) | 5807 index, index, length)) |
| 5808 throw new RangeError.range(index, 0, length); | 5808 throw new RangeError.range(index, 0, length); |
| 5809 return this.item(index); | 5809 return this.item(index); |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6190 @DomName('SVGVKernElement') | 6190 @DomName('SVGVKernElement') |
| 6191 @Unstable() | 6191 @Unstable() |
| 6192 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { | 6192 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { |
| 6193 // To suppress missing implicit constructor warnings. | 6193 // To suppress missing implicit constructor warnings. |
| 6194 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } | 6194 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } |
| 6195 | 6195 |
| 6196 @DomName('SVGVKernElement.SVGVKernElement') | 6196 @DomName('SVGVKernElement.SVGVKernElement') |
| 6197 @DocsEditable() | 6197 @DocsEditable() |
| 6198 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 6198 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6199 } | 6199 } |
| OLD | NEW |