| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
| 3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
| 4 * | 4 * |
| 5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
| 6 * refer to the | 6 * refer to the |
| 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| 8 */ | 8 */ |
| 9 library dart.dom.svg; | 9 library dart.dom.svg; |
| 10 | 10 |
| (...skipping 3023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3034 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 3034 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 3035 } | 3035 } |
| 3036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3037 // for details. All rights reserved. Use of this source code is governed by a | 3037 // for details. All rights reserved. Use of this source code is governed by a |
| 3038 // BSD-style license that can be found in the LICENSE file. | 3038 // BSD-style license that can be found in the LICENSE file. |
| 3039 | 3039 |
| 3040 | 3040 |
| 3041 @DocsEditable() | 3041 @DocsEditable() |
| 3042 @DomName('SVGLengthList') | 3042 @DomName('SVGLengthList') |
| 3043 @Unstable() | 3043 @Unstable() |
| 3044 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements List native "SVGLengthList" { | 3044 class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<
Length> implements List<Length> native "SVGLengthList" { |
| 3045 // To suppress missing implicit constructor warnings. | 3045 // To suppress missing implicit constructor warnings. |
| 3046 factory LengthList._() { throw new UnsupportedError("Not supported"); } | 3046 factory LengthList._() { throw new UnsupportedError("Not supported"); } |
| 3047 | 3047 |
| 3048 @DomName('SVGLengthList.numberOfItems') | 3048 @DomName('SVGLengthList.numberOfItems') |
| 3049 @DocsEditable() | 3049 @DocsEditable() |
| 3050 final int numberOfItems; | 3050 final int numberOfItems; |
| 3051 | 3051 |
| 3052 Length operator[](int index) { | 3052 Length operator[](int index) { |
| 3053 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3053 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3054 index, index, length)) | 3054 index, index, length)) |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3488 num value; | 3488 num value; |
| 3489 } | 3489 } |
| 3490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3491 // for details. All rights reserved. Use of this source code is governed by a | 3491 // for details. All rights reserved. Use of this source code is governed by a |
| 3492 // BSD-style license that can be found in the LICENSE file. | 3492 // BSD-style license that can be found in the LICENSE file. |
| 3493 | 3493 |
| 3494 | 3494 |
| 3495 @DocsEditable() | 3495 @DocsEditable() |
| 3496 @DomName('SVGNumberList') | 3496 @DomName('SVGNumberList') |
| 3497 @Unstable() | 3497 @Unstable() |
| 3498 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements List native "SVGNumberList" { | 3498 class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<
Number> implements List<Number> native "SVGNumberList" { |
| 3499 // To suppress missing implicit constructor warnings. | 3499 // To suppress missing implicit constructor warnings. |
| 3500 factory NumberList._() { throw new UnsupportedError("Not supported"); } | 3500 factory NumberList._() { throw new UnsupportedError("Not supported"); } |
| 3501 | 3501 |
| 3502 @DomName('SVGNumberList.numberOfItems') | 3502 @DomName('SVGNumberList.numberOfItems') |
| 3503 @DocsEditable() | 3503 @DocsEditable() |
| 3504 final int numberOfItems; | 3504 final int numberOfItems; |
| 3505 | 3505 |
| 3506 Number operator[](int index) { | 3506 Number operator[](int index) { |
| 3507 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 3507 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 3508 index, index, length)) | 3508 index, index, length)) |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4253 num y; | 4253 num y; |
| 4254 } | 4254 } |
| 4255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4256 // for details. All rights reserved. Use of this source code is governed by a | 4256 // for details. All rights reserved. Use of this source code is governed by a |
| 4257 // BSD-style license that can be found in the LICENSE file. | 4257 // BSD-style license that can be found in the LICENSE file. |
| 4258 | 4258 |
| 4259 | 4259 |
| 4260 @DocsEditable() | 4260 @DocsEditable() |
| 4261 @DomName('SVGPathSegList') | 4261 @DomName('SVGPathSegList') |
| 4262 @Unstable() | 4262 @Unstable() |
| 4263 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements List native "SVGPathSegList" { | 4263 class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi
n<PathSeg> implements List<PathSeg> native "SVGPathSegList" { |
| 4264 // To suppress missing implicit constructor warnings. | 4264 // To suppress missing implicit constructor warnings. |
| 4265 factory PathSegList._() { throw new UnsupportedError("Not supported"); } | 4265 factory PathSegList._() { throw new UnsupportedError("Not supported"); } |
| 4266 | 4266 |
| 4267 @DomName('SVGPathSegList.numberOfItems') | 4267 @DomName('SVGPathSegList.numberOfItems') |
| 4268 @DocsEditable() | 4268 @DocsEditable() |
| 4269 final int numberOfItems; | 4269 final int numberOfItems; |
| 4270 | 4270 |
| 4271 PathSeg operator[](int index) { | 4271 PathSeg operator[](int index) { |
| 4272 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 4272 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 4273 index, index, length)) | 4273 index, index, length)) |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4944 final AnimatedNumber gradientOffset; | 4944 final AnimatedNumber gradientOffset; |
| 4945 } | 4945 } |
| 4946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4946 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4947 // for details. All rights reserved. Use of this source code is governed by a | 4947 // for details. All rights reserved. Use of this source code is governed by a |
| 4948 // BSD-style license that can be found in the LICENSE file. | 4948 // BSD-style license that can be found in the LICENSE file. |
| 4949 | 4949 |
| 4950 | 4950 |
| 4951 @DocsEditable() | 4951 @DocsEditable() |
| 4952 @DomName('SVGStringList') | 4952 @DomName('SVGStringList') |
| 4953 @Unstable() | 4953 @Unstable() |
| 4954 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements List native "SVGStringList" { | 4954 class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<
String> implements List<String> native "SVGStringList" { |
| 4955 // To suppress missing implicit constructor warnings. | 4955 // To suppress missing implicit constructor warnings. |
| 4956 factory StringList._() { throw new UnsupportedError("Not supported"); } | 4956 factory StringList._() { throw new UnsupportedError("Not supported"); } |
| 4957 | 4957 |
| 4958 @DomName('SVGStringList.numberOfItems') | 4958 @DomName('SVGStringList.numberOfItems') |
| 4959 @DocsEditable() | 4959 @DocsEditable() |
| 4960 final int numberOfItems; | 4960 final int numberOfItems; |
| 4961 | 4961 |
| 4962 String operator[](int index) { | 4962 String operator[](int index) { |
| 4963 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 4963 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 4964 index, index, length)) | 4964 index, index, length)) |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5899 void setTranslate(num tx, num ty) native; | 5899 void setTranslate(num tx, num ty) native; |
| 5900 } | 5900 } |
| 5901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5902 // for details. All rights reserved. Use of this source code is governed by a | 5902 // for details. All rights reserved. Use of this source code is governed by a |
| 5903 // BSD-style license that can be found in the LICENSE file. | 5903 // BSD-style license that can be found in the LICENSE file. |
| 5904 | 5904 |
| 5905 | 5905 |
| 5906 @DocsEditable() | 5906 @DocsEditable() |
| 5907 @DomName('SVGTransformList') | 5907 @DomName('SVGTransformList') |
| 5908 @Unstable() | 5908 @Unstable() |
| 5909 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List native "SVGTransformList" { | 5909 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List<Transform> native "SVGTransformList" { |
| 5910 // To suppress missing implicit constructor warnings. | 5910 // To suppress missing implicit constructor warnings. |
| 5911 factory TransformList._() { throw new UnsupportedError("Not supported"); } | 5911 factory TransformList._() { throw new UnsupportedError("Not supported"); } |
| 5912 | 5912 |
| 5913 @DomName('SVGTransformList.numberOfItems') | 5913 @DomName('SVGTransformList.numberOfItems') |
| 5914 @DocsEditable() | 5914 @DocsEditable() |
| 5915 final int numberOfItems; | 5915 final int numberOfItems; |
| 5916 | 5916 |
| 5917 Transform operator[](int index) { | 5917 Transform operator[](int index) { |
| 5918 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 5918 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 5919 index, index, length)) | 5919 index, index, length)) |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6271 final Rect zoomRectScreen; | 6271 final Rect zoomRectScreen; |
| 6272 } | 6272 } |
| 6273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6274 // for details. All rights reserved. Use of this source code is governed by a | 6274 // for details. All rights reserved. Use of this source code is governed by a |
| 6275 // BSD-style license that can be found in the LICENSE file. | 6275 // BSD-style license that can be found in the LICENSE file. |
| 6276 | 6276 |
| 6277 | 6277 |
| 6278 @DocsEditable() | 6278 @DocsEditable() |
| 6279 @DomName('SVGElementInstanceList') | 6279 @DomName('SVGElementInstanceList') |
| 6280 @Unstable() | 6280 @Unstable() |
| 6281 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements List native "SVGElementInstanceLi
st" { | 6281 class _ElementInstanceList extends Interceptor with ListMixin<ElementInstance>,
ImmutableListMixin<ElementInstance> implements List<ElementInstance> native "SVG
ElementInstanceList" { |
| 6282 // To suppress missing implicit constructor warnings. | 6282 // To suppress missing implicit constructor warnings. |
| 6283 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported")
; } | 6283 factory _ElementInstanceList._() { throw new UnsupportedError("Not supported")
; } |
| 6284 | 6284 |
| 6285 @DomName('SVGElementInstanceList.length') | 6285 @DomName('SVGElementInstanceList.length') |
| 6286 @DocsEditable() | 6286 @DocsEditable() |
| 6287 int get length => JS("int", "#.length", this); | 6287 int get length => JS("int", "#.length", this); |
| 6288 | 6288 |
| 6289 ElementInstance operator[](int index) { | 6289 ElementInstance operator[](int index) { |
| 6290 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 6290 if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| 6291 index, index, length)) | 6291 index, index, length)) |
| (...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6770 @DomName('SVGVKernElement.SVGVKernElement') | 6770 @DomName('SVGVKernElement.SVGVKernElement') |
| 6771 @DocsEditable() | 6771 @DocsEditable() |
| 6772 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 6772 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 6773 /** | 6773 /** |
| 6774 * Constructor instantiated by the DOM when a custom element has been created. | 6774 * Constructor instantiated by the DOM when a custom element has been created. |
| 6775 * | 6775 * |
| 6776 * This can only be called by subclasses from their created constructor. | 6776 * This can only be called by subclasses from their created constructor. |
| 6777 */ | 6777 */ |
| 6778 _SVGVKernElement.created() : super.created(); | 6778 _SVGVKernElement.created() : super.created(); |
| 6779 } | 6779 } |
| OLD | NEW |