| 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 import 'dart:_interceptors' show Interceptor; |
| 10 // DO NOT EDIT - unless you are editing documentation as per: | 11 // DO NOT EDIT - unless you are editing documentation as per: |
| 11 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 12 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 12 // Auto-generated dart:svg library. | 13 // Auto-generated dart:svg library. |
| 13 | 14 |
| 14 | 15 |
| 15 | 16 |
| 16 | 17 |
| 17 | 18 |
| 18 | |
| 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 20 // for details. All rights reserved. Use of this source code is governed by a | 20 // for details. All rights reserved. Use of this source code is governed by a |
| 21 // BSD-style license that can be found in the LICENSE file. | 21 // BSD-style license that can be found in the LICENSE file. |
| 22 | 22 |
| 23 | 23 |
| 24 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 24 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); |
| 25 | 25 |
| 26 class _SvgElementFactoryProvider { | 26 class _SvgElementFactoryProvider { |
| 27 static SvgElement createSvgElement_tag(String tag) { | 27 static SvgElement createSvgElement_tag(String tag) { |
| 28 final Element temp = | 28 final Element temp = |
| (...skipping 2970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2999 @DocsEditable | 2999 @DocsEditable |
| 3000 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 3000 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 3001 } | 3001 } |
| 3002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3003 // for details. All rights reserved. Use of this source code is governed by a | 3003 // for details. All rights reserved. Use of this source code is governed by a |
| 3004 // BSD-style license that can be found in the LICENSE file. | 3004 // BSD-style license that can be found in the LICENSE file. |
| 3005 | 3005 |
| 3006 | 3006 |
| 3007 @DocsEditable | 3007 @DocsEditable |
| 3008 @DomName('SVGLengthList') | 3008 @DomName('SVGLengthList') |
| 3009 class LengthList extends Object with ListMixin<Length>, ImmutableListMixin<Lengt
h> implements JavaScriptIndexingBehavior, List<Length> native "SVGLengthList" { | 3009 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements JavaScriptIndexingBehavior, List<Length> native "SVGLengthLis
t" { |
| 3010 | 3010 |
| 3011 @DomName('SVGLengthList.numberOfItems') | 3011 @DomName('SVGLengthList.numberOfItems') |
| 3012 @DocsEditable | 3012 @DocsEditable |
| 3013 final int numberOfItems; | 3013 final int numberOfItems; |
| 3014 | 3014 |
| 3015 Length operator[](int index) => this.getItem(index); | 3015 Length operator[](int index) => this.getItem(index); |
| 3016 | 3016 |
| 3017 void operator[]=(int index, Length value) { | 3017 void operator[]=(int index, Length value) { |
| 3018 throw new UnsupportedError("Cannot assign element of immutable List."); | 3018 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3019 } | 3019 } |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3460 @DocsEditable | 3460 @DocsEditable |
| 3461 num value; | 3461 num value; |
| 3462 } | 3462 } |
| 3463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3464 // for details. All rights reserved. Use of this source code is governed by a | 3464 // for details. All rights reserved. Use of this source code is governed by a |
| 3465 // BSD-style license that can be found in the LICENSE file. | 3465 // BSD-style license that can be found in the LICENSE file. |
| 3466 | 3466 |
| 3467 | 3467 |
| 3468 @DocsEditable | 3468 @DocsEditable |
| 3469 @DomName('SVGNumberList') | 3469 @DomName('SVGNumberList') |
| 3470 class NumberList extends Object with ListMixin<Number>, ImmutableListMixin<Numbe
r> implements JavaScriptIndexingBehavior, List<Number> native "SVGNumberList" { | 3470 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements JavaScriptIndexingBehavior, List<Number> native "SVGNumberLis
t" { |
| 3471 | 3471 |
| 3472 @DomName('SVGNumberList.numberOfItems') | 3472 @DomName('SVGNumberList.numberOfItems') |
| 3473 @DocsEditable | 3473 @DocsEditable |
| 3474 final int numberOfItems; | 3474 final int numberOfItems; |
| 3475 | 3475 |
| 3476 Number operator[](int index) => this.getItem(index); | 3476 Number operator[](int index) => this.getItem(index); |
| 3477 | 3477 |
| 3478 void operator[]=(int index, Number value) { | 3478 void operator[]=(int index, Number value) { |
| 3479 throw new UnsupportedError("Cannot assign element of immutable List."); | 3479 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3480 } | 3480 } |
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4152 @DocsEditable | 4152 @DocsEditable |
| 4153 num y; | 4153 num y; |
| 4154 } | 4154 } |
| 4155 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4155 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4156 // for details. All rights reserved. Use of this source code is governed by a | 4156 // for details. All rights reserved. Use of this source code is governed by a |
| 4157 // BSD-style license that can be found in the LICENSE file. | 4157 // BSD-style license that can be found in the LICENSE file. |
| 4158 | 4158 |
| 4159 | 4159 |
| 4160 @DocsEditable | 4160 @DocsEditable |
| 4161 @DomName('SVGPathSegList') | 4161 @DomName('SVGPathSegList') |
| 4162 class PathSegList extends Object with ListMixin<PathSeg>, ImmutableListMixin<Pat
hSeg> implements JavaScriptIndexingBehavior, List<PathSeg> native "SVGPathSegLis
t" { | 4162 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements JavaScriptIndexingBehavior, List<PathSeg> native "SVGPathS
egList" { |
| 4163 | 4163 |
| 4164 @DomName('SVGPathSegList.numberOfItems') | 4164 @DomName('SVGPathSegList.numberOfItems') |
| 4165 @DocsEditable | 4165 @DocsEditable |
| 4166 final int numberOfItems; | 4166 final int numberOfItems; |
| 4167 | 4167 |
| 4168 PathSeg operator[](int index) => this.getItem(index); | 4168 PathSeg operator[](int index) => this.getItem(index); |
| 4169 | 4169 |
| 4170 void operator[]=(int index, PathSeg value) { | 4170 void operator[]=(int index, PathSeg value) { |
| 4171 throw new UnsupportedError("Cannot assign element of immutable List."); | 4171 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 4172 } | 4172 } |
| (...skipping 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4874 @DocsEditable | 4874 @DocsEditable |
| 4875 final AnimatedNumber gradientOffset; | 4875 final AnimatedNumber gradientOffset; |
| 4876 } | 4876 } |
| 4877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4878 // for details. All rights reserved. Use of this source code is governed by a | 4878 // for details. All rights reserved. Use of this source code is governed by a |
| 4879 // BSD-style license that can be found in the LICENSE file. | 4879 // BSD-style license that can be found in the LICENSE file. |
| 4880 | 4880 |
| 4881 | 4881 |
| 4882 @DocsEditable | 4882 @DocsEditable |
| 4883 @DomName('SVGStringList') | 4883 @DomName('SVGStringList') |
| 4884 class StringList extends Object with ListMixin<String>, ImmutableListMixin<Strin
g> implements JavaScriptIndexingBehavior, List<String> native "SVGStringList" { | 4884 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements JavaScriptIndexingBehavior, List<String> native "SVGStringLis
t" { |
| 4885 | 4885 |
| 4886 @DomName('SVGStringList.numberOfItems') | 4886 @DomName('SVGStringList.numberOfItems') |
| 4887 @DocsEditable | 4887 @DocsEditable |
| 4888 final int numberOfItems; | 4888 final int numberOfItems; |
| 4889 | 4889 |
| 4890 String operator[](int index) => this.getItem(index); | 4890 String operator[](int index) => this.getItem(index); |
| 4891 | 4891 |
| 4892 void operator[]=(int index, String value) { | 4892 void operator[]=(int index, String value) { |
| 4893 throw new UnsupportedError("Cannot assign element of immutable List."); | 4893 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 4894 } | 4894 } |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5869 @DocsEditable | 5869 @DocsEditable |
| 5870 void setTranslate(num tx, num ty) native; | 5870 void setTranslate(num tx, num ty) native; |
| 5871 } | 5871 } |
| 5872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5872 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5873 // for details. All rights reserved. Use of this source code is governed by a | 5873 // for details. All rights reserved. Use of this source code is governed by a |
| 5874 // BSD-style license that can be found in the LICENSE file. | 5874 // BSD-style license that can be found in the LICENSE file. |
| 5875 | 5875 |
| 5876 | 5876 |
| 5877 @DocsEditable | 5877 @DocsEditable |
| 5878 @DomName('SVGTransformList') | 5878 @DomName('SVGTransformList') |
| 5879 class TransformList extends Object with ListMixin<Transform>, ImmutableListMixin
<Transform> implements List<Transform>, JavaScriptIndexingBehavior native "SVGTr
ansformList" { | 5879 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List<Transform>, JavaScriptIndexingBehavior native "
SVGTransformList" { |
| 5880 | 5880 |
| 5881 @DomName('SVGTransformList.numberOfItems') | 5881 @DomName('SVGTransformList.numberOfItems') |
| 5882 @DocsEditable | 5882 @DocsEditable |
| 5883 final int numberOfItems; | 5883 final int numberOfItems; |
| 5884 | 5884 |
| 5885 Transform operator[](int index) => this.getItem(index); | 5885 Transform operator[](int index) => this.getItem(index); |
| 5886 | 5886 |
| 5887 void operator[]=(int index, Transform value) { | 5887 void operator[]=(int index, Transform value) { |
| 5888 throw new UnsupportedError("Cannot assign element of immutable List."); | 5888 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 5889 } | 5889 } |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6225 @DocsEditable | 6225 @DocsEditable |
| 6226 final Rect zoomRectScreen; | 6226 final Rect zoomRectScreen; |
| 6227 } | 6227 } |
| 6228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6229 // for details. All rights reserved. Use of this source code is governed by a | 6229 // for details. All rights reserved. Use of this source code is governed by a |
| 6230 // BSD-style license that can be found in the LICENSE file. | 6230 // BSD-style license that can be found in the LICENSE file. |
| 6231 | 6231 |
| 6232 | 6232 |
| 6233 @DocsEditable | 6233 @DocsEditable |
| 6234 @DomName('SVGElementInstanceList') | 6234 @DomName('SVGElementInstanceList') |
| 6235 class _ElementInstanceList extends Object with ListMixin<ElementInstance>, Immut
ableListMixin<ElementInstance> implements JavaScriptIndexingBehavior, List<Eleme
ntInstance> native "SVGElementInstanceList" { | 6235 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements JavaScriptIndexingBehavior, List<
ElementInstance> native "SVGElementInstanceList" { |
| 6236 | 6236 |
| 6237 @DomName('SVGElementInstanceList.length') | 6237 @DomName('SVGElementInstanceList.length') |
| 6238 @DocsEditable | 6238 @DocsEditable |
| 6239 int get length => JS("int", "#.length", this); | 6239 int get length => JS("int", "#.length", this); |
| 6240 | 6240 |
| 6241 ElementInstance operator[](int index) => this.item(index); | 6241 ElementInstance operator[](int index) => this.item(index); |
| 6242 | 6242 |
| 6243 void operator[]=(int index, ElementInstance value) { | 6243 void operator[]=(int index, ElementInstance value) { |
| 6244 throw new UnsupportedError("Cannot assign element of immutable List."); | 6244 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 6245 } | 6245 } |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6526 | 6526 |
| 6527 | 6527 |
| 6528 @DocsEditable | 6528 @DocsEditable |
| 6529 @DomName('SVGVKernElement') | 6529 @DomName('SVGVKernElement') |
| 6530 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { | 6530 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { |
| 6531 | 6531 |
| 6532 @DomName('SVGVKernElement.SVGVKernElement') | 6532 @DomName('SVGVKernElement.SVGVKernElement') |
| 6533 @DocsEditable | 6533 @DocsEditable |
| 6534 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 6534 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6535 } | 6535 } |
| OLD | NEW |