OLD | NEW |
1 library svg; | 1 library svg; |
2 | 2 |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 // DO NOT EDIT | 4 // DO NOT EDIT |
5 // Auto-generated dart:svg library. | 5 // Auto-generated dart:svg library. |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 4302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4313 /// @domName SVGURIReference.href; @docsEditable true | 4313 /// @domName SVGURIReference.href; @docsEditable true |
4314 final AnimatedString href; | 4314 final AnimatedString href; |
4315 } | 4315 } |
4316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4316 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4317 // for details. All rights reserved. Use of this source code is governed by a | 4317 // for details. All rights reserved. Use of this source code is governed by a |
4318 // BSD-style license that can be found in the LICENSE file. | 4318 // BSD-style license that can be found in the LICENSE file. |
4319 | 4319 |
4320 // WARNING: Do not edit - generated code. | 4320 // WARNING: Do not edit - generated code. |
4321 | 4321 |
4322 | 4322 |
| 4323 /// @domName SVGPoint |
4323 class Point native "*SVGPoint" { | 4324 class Point native "*SVGPoint" { |
4324 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); | 4325 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); |
4325 | 4326 |
4326 /// @domName SVGPoint.x; @docsEditable true | 4327 /// @domName SVGPoint.x; @docsEditable true |
4327 num x; | 4328 num x; |
4328 | 4329 |
4329 /// @domName SVGPoint.y; @docsEditable true | 4330 /// @domName SVGPoint.y; @docsEditable true |
4330 num y; | 4331 num y; |
4331 | 4332 |
4332 /// @domName SVGPoint.matrixTransform; @docsEditable true | 4333 /// @domName SVGPoint.matrixTransform; @docsEditable true |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4988 } | 4989 } |
4989 return s; | 4990 return s; |
4990 } | 4991 } |
4991 | 4992 |
4992 void writeClasses(Set s) { | 4993 void writeClasses(Set s) { |
4993 List list = new List.from(s); | 4994 List list = new List.from(s); |
4994 _element.attributes['class'] = Strings.join(list, ' '); | 4995 _element.attributes['class'] = Strings.join(list, ' '); |
4995 } | 4996 } |
4996 } | 4997 } |
4997 | 4998 |
| 4999 /// @domName SVGElement |
4998 class SvgElement extends Element native "*SVGElement" { | 5000 class SvgElement extends Element native "*SVGElement" { |
4999 factory SvgElement.tag(String tag) => | 5001 factory SvgElement.tag(String tag) => |
5000 _SvgElementFactoryProvider.createSvgElement_tag(tag); | 5002 _SvgElementFactoryProvider.createSvgElement_tag(tag); |
5001 factory SvgElement.svg(String svg) => | 5003 factory SvgElement.svg(String svg) => |
5002 _SvgElementFactoryProvider.createSvgElement_svg(svg); | 5004 _SvgElementFactoryProvider.createSvgElement_svg(svg); |
5003 | 5005 |
5004 _AttributeClassSet _cssClassSet; | 5006 _AttributeClassSet _cssClassSet; |
5005 CssClassSet get classes { | 5007 CssClassSet get classes { |
5006 if (_cssClassSet == null) { | 5008 if (_cssClassSet == null) { |
5007 _cssClassSet = new _AttributeClassSet(this); | 5009 _cssClassSet = new _AttributeClassSet(this); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5065 | 5067 |
5066 /// @domName SVGElement.xmlbase; @docsEditable true | 5068 /// @domName SVGElement.xmlbase; @docsEditable true |
5067 String xmlbase; | 5069 String xmlbase; |
5068 | 5070 |
5069 } | 5071 } |
5070 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5071 // for details. All rights reserved. Use of this source code is governed by a | 5073 // for details. All rights reserved. Use of this source code is governed by a |
5072 // BSD-style license that can be found in the LICENSE file. | 5074 // BSD-style license that can be found in the LICENSE file. |
5073 | 5075 |
5074 | 5076 |
| 5077 /// @domName SVGSVGElement |
5075 class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Locatable, ExternalResourcesRequired, ZoomAndPan, LangSpace native "*SVGSVGElem
ent" { | 5078 class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Locatable, ExternalResourcesRequired, ZoomAndPan, LangSpace native "*SVGSVGElem
ent" { |
5076 factory SvgSvgElement() => _SvgSvgElementFactoryProvider.createSvgSvgElement()
; | 5079 factory SvgSvgElement() => _SvgSvgElementFactoryProvider.createSvgSvgElement()
; |
5077 | 5080 |
5078 | 5081 |
5079 /// @domName SVGSVGElement.contentScriptType; @docsEditable true | 5082 /// @domName SVGSVGElement.contentScriptType; @docsEditable true |
5080 String contentScriptType; | 5083 String contentScriptType; |
5081 | 5084 |
5082 /// @domName SVGSVGElement.contentStyleType; @docsEditable true | 5085 /// @domName SVGSVGElement.contentStyleType; @docsEditable true |
5083 String contentStyleType; | 5086 String contentStyleType; |
5084 | 5087 |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6154 } | 6157 } |
6155 | 6158 |
6156 List<ElementInstance> getRange(int start, int rangeLength) => | 6159 List<ElementInstance> getRange(int start, int rangeLength) => |
6157 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6160 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
6158 | 6161 |
6159 // -- end List<ElementInstance> mixins. | 6162 // -- end List<ElementInstance> mixins. |
6160 | 6163 |
6161 /// @domName SVGElementInstanceList.item; @docsEditable true | 6164 /// @domName SVGElementInstanceList.item; @docsEditable true |
6162 ElementInstance item(int index) native; | 6165 ElementInstance item(int index) native; |
6163 } | 6166 } |
OLD | NEW |