OLD | NEW |
1 library svg; | 1 library svg; |
2 | 2 |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 import 'dart:nativewrappers'; | 4 import 'dart:nativewrappers'; |
5 // DO NOT EDIT | 5 // DO NOT EDIT |
6 // Auto-generated dart:svg library. | 6 // Auto-generated dart:svg library. |
7 | 7 |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 5716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5727 AnimatedString get href native "SVGPatternElement_href_Getter"; | 5727 AnimatedString get href native "SVGPatternElement_href_Getter"; |
5728 | 5728 |
5729 } | 5729 } |
5730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5730 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5731 // for details. All rights reserved. Use of this source code is governed by a | 5731 // for details. All rights reserved. Use of this source code is governed by a |
5732 // BSD-style license that can be found in the LICENSE file. | 5732 // BSD-style license that can be found in the LICENSE file. |
5733 | 5733 |
5734 // WARNING: Do not edit - generated code. | 5734 // WARNING: Do not edit - generated code. |
5735 | 5735 |
5736 | 5736 |
| 5737 /// @domName SVGPoint |
5737 class Point extends NativeFieldWrapperClass1 { | 5738 class Point extends NativeFieldWrapperClass1 { |
5738 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); | 5739 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); |
5739 Point.internal(); | 5740 Point.internal(); |
5740 | 5741 |
5741 | 5742 |
5742 /** @domName SVGPoint.x */ | 5743 /** @domName SVGPoint.x */ |
5743 num get x native "SVGPoint_x_Getter"; | 5744 num get x native "SVGPoint_x_Getter"; |
5744 | 5745 |
5745 | 5746 |
5746 /** @domName SVGPoint.x */ | 5747 /** @domName SVGPoint.x */ |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6609 } | 6610 } |
6610 return s; | 6611 return s; |
6611 } | 6612 } |
6612 | 6613 |
6613 void writeClasses(Set s) { | 6614 void writeClasses(Set s) { |
6614 List list = new List.from(s); | 6615 List list = new List.from(s); |
6615 _element.attributes['class'] = Strings.join(list, ' '); | 6616 _element.attributes['class'] = Strings.join(list, ' '); |
6616 } | 6617 } |
6617 } | 6618 } |
6618 | 6619 |
| 6620 /// @domName SVGElement |
6619 class SvgElement extends Element { | 6621 class SvgElement extends Element { |
6620 factory SvgElement.tag(String tag) => | 6622 factory SvgElement.tag(String tag) => |
6621 _SvgElementFactoryProvider.createSvgElement_tag(tag); | 6623 _SvgElementFactoryProvider.createSvgElement_tag(tag); |
6622 factory SvgElement.svg(String svg) => | 6624 factory SvgElement.svg(String svg) => |
6623 _SvgElementFactoryProvider.createSvgElement_svg(svg); | 6625 _SvgElementFactoryProvider.createSvgElement_svg(svg); |
6624 | 6626 |
6625 _AttributeClassSet _cssClassSet; | 6627 _AttributeClassSet _cssClassSet; |
6626 CssClassSet get classes { | 6628 CssClassSet get classes { |
6627 if (_cssClassSet == null) { | 6629 if (_cssClassSet == null) { |
6628 _cssClassSet = new _AttributeClassSet(this); | 6630 _cssClassSet = new _AttributeClassSet(this); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6693 | 6695 |
6694 /** @domName SVGElement.xmlbase */ | 6696 /** @domName SVGElement.xmlbase */ |
6695 void set xmlbase(String value) native "SVGElement_xmlbase_Setter"; | 6697 void set xmlbase(String value) native "SVGElement_xmlbase_Setter"; |
6696 | 6698 |
6697 } | 6699 } |
6698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6699 // for details. All rights reserved. Use of this source code is governed by a | 6701 // for details. All rights reserved. Use of this source code is governed by a |
6700 // BSD-style license that can be found in the LICENSE file. | 6702 // BSD-style license that can be found in the LICENSE file. |
6701 | 6703 |
6702 | 6704 |
| 6705 /// @domName SVGSVGElement |
6703 class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Locatable, ExternalResourcesRequired, ZoomAndPan, LangSpace { | 6706 class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Locatable, ExternalResourcesRequired, ZoomAndPan, LangSpace { |
6704 factory SvgSvgElement() => _SvgSvgElementFactoryProvider.createSvgSvgElement()
; | 6707 factory SvgSvgElement() => _SvgSvgElementFactoryProvider.createSvgSvgElement()
; |
6705 | 6708 |
6706 SvgSvgElement.internal(): super.internal(); | 6709 SvgSvgElement.internal(): super.internal(); |
6707 | 6710 |
6708 | 6711 |
6709 /** @domName SVGSVGElement.contentScriptType */ | 6712 /** @domName SVGSVGElement.contentScriptType */ |
6710 String get contentScriptType native "SVGSVGElement_contentScriptType_Getter"; | 6713 String get contentScriptType native "SVGSVGElement_contentScriptType_Getter"; |
6711 | 6714 |
6712 | 6715 |
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8079 List<ElementInstance> getRange(int start, int rangeLength) => | 8082 List<ElementInstance> getRange(int start, int rangeLength) => |
8080 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 8083 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
8081 | 8084 |
8082 // -- end List<ElementInstance> mixins. | 8085 // -- end List<ElementInstance> mixins. |
8083 | 8086 |
8084 | 8087 |
8085 /** @domName SVGElementInstanceList.item */ | 8088 /** @domName SVGElementInstanceList.item */ |
8086 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; | 8089 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; |
8087 | 8090 |
8088 } | 8091 } |
OLD | NEW |