| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 static SvgElement createSvgElement_svg(String svg) { | 25 static SvgElement createSvgElement_svg(String svg) { |
| 26 Element parentTag; | 26 Element parentTag; |
| 27 final match = _START_TAG_REGEXP.firstMatch(svg); | 27 final match = _START_TAG_REGEXP.firstMatch(svg); |
| 28 if (match != null && match.group(1).toLowerCase() == 'svg') { | 28 if (match != null && match.group(1).toLowerCase() == 'svg') { |
| 29 parentTag = new Element.tag('div'); | 29 parentTag = new Element.tag('div'); |
| 30 } else { | 30 } else { |
| 31 parentTag = new SvgSvgElement(); | 31 parentTag = new SvgSvgElement(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 parentTag.innerHTML = svg; | 34 parentTag.innerHtml = svg; |
| 35 if (parentTag.elements.length == 1) return parentTag.elements.removeLast(); | 35 if (parentTag.elements.length == 1) return parentTag.elements.removeLast(); |
| 36 | 36 |
| 37 throw new ArgumentError( | 37 throw new ArgumentError( |
| 38 'SVG had ${parentTag.elements.length} ' | 38 'SVG had ${parentTag.elements.length} ' |
| 39 'top-level elements but 1 expected'); | 39 'top-level elements but 1 expected'); |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 class _SvgSvgElementFactoryProvider { | 43 class _SvgSvgElementFactoryProvider { |
| 44 static SvgSvgElement createSvgSvgElement() { | 44 static SvgSvgElement createSvgSvgElement() { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 /** @domName SVGLocatable.farthestViewportElement */ | 79 /** @domName SVGLocatable.farthestViewportElement */ |
| 80 final SvgElement farthestViewportElement; | 80 final SvgElement farthestViewportElement; |
| 81 | 81 |
| 82 /** @domName SVGLocatable.nearestViewportElement */ | 82 /** @domName SVGLocatable.nearestViewportElement */ |
| 83 final SvgElement nearestViewportElement; | 83 final SvgElement nearestViewportElement; |
| 84 | 84 |
| 85 /** @domName SVGLocatable.getBBox */ | 85 /** @domName SVGLocatable.getBBox */ |
| 86 Rect getBBox() native; | 86 Rect getBBox() native; |
| 87 | 87 |
| 88 /** @domName SVGLocatable.getCTM */ | 88 /** @domName SVGLocatable.getCTM */ |
| 89 Matrix getCTM() native; | 89 Matrix getCtm() native "getCTM"; |
| 90 | 90 |
| 91 /** @domName SVGLocatable.getScreenCTM */ | 91 /** @domName SVGLocatable.getScreenCTM */ |
| 92 Matrix getScreenCTM() native; | 92 Matrix getScreenCtm() native "getScreenCTM"; |
| 93 | 93 |
| 94 /** @domName SVGLocatable.getTransformToElement */ | 94 /** @domName SVGLocatable.getTransformToElement */ |
| 95 Matrix getTransformToElement(SvgElement element) native; | 95 Matrix getTransformToElement(SvgElement element) native; |
| 96 | 96 |
| 97 // From SVGStylable | 97 // From SVGStylable |
| 98 | 98 |
| 99 /** @domName SVGStylable.className */ | 99 /** @domName SVGStylable.className */ |
| 100 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 100 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 101 | 101 |
| 102 // Use implementation from Element. | 102 // Use implementation from Element. |
| (...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 /** @domName SVGLocatable.farthestViewportElement */ | 755 /** @domName SVGLocatable.farthestViewportElement */ |
| 756 final SvgElement farthestViewportElement; | 756 final SvgElement farthestViewportElement; |
| 757 | 757 |
| 758 /** @domName SVGLocatable.nearestViewportElement */ | 758 /** @domName SVGLocatable.nearestViewportElement */ |
| 759 final SvgElement nearestViewportElement; | 759 final SvgElement nearestViewportElement; |
| 760 | 760 |
| 761 /** @domName SVGLocatable.getBBox */ | 761 /** @domName SVGLocatable.getBBox */ |
| 762 Rect getBBox() native; | 762 Rect getBBox() native; |
| 763 | 763 |
| 764 /** @domName SVGLocatable.getCTM */ | 764 /** @domName SVGLocatable.getCTM */ |
| 765 Matrix getCTM() native; | 765 Matrix getCtm() native "getCTM"; |
| 766 | 766 |
| 767 /** @domName SVGLocatable.getScreenCTM */ | 767 /** @domName SVGLocatable.getScreenCTM */ |
| 768 Matrix getScreenCTM() native; | 768 Matrix getScreenCtm() native "getScreenCTM"; |
| 769 | 769 |
| 770 /** @domName SVGLocatable.getTransformToElement */ | 770 /** @domName SVGLocatable.getTransformToElement */ |
| 771 Matrix getTransformToElement(SvgElement element) native; | 771 Matrix getTransformToElement(SvgElement element) native; |
| 772 | 772 |
| 773 // From SVGStylable | 773 // From SVGStylable |
| 774 | 774 |
| 775 /** @domName SVGStylable.className */ | 775 /** @domName SVGStylable.className */ |
| 776 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 776 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 777 | 777 |
| 778 // Use implementation from Element. | 778 // Use implementation from Element. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 /** @domName SVGLocatable.farthestViewportElement */ | 831 /** @domName SVGLocatable.farthestViewportElement */ |
| 832 final SvgElement farthestViewportElement; | 832 final SvgElement farthestViewportElement; |
| 833 | 833 |
| 834 /** @domName SVGLocatable.nearestViewportElement */ | 834 /** @domName SVGLocatable.nearestViewportElement */ |
| 835 final SvgElement nearestViewportElement; | 835 final SvgElement nearestViewportElement; |
| 836 | 836 |
| 837 /** @domName SVGLocatable.getBBox */ | 837 /** @domName SVGLocatable.getBBox */ |
| 838 Rect getBBox() native; | 838 Rect getBBox() native; |
| 839 | 839 |
| 840 /** @domName SVGLocatable.getCTM */ | 840 /** @domName SVGLocatable.getCTM */ |
| 841 Matrix getCTM() native; | 841 Matrix getCtm() native "getCTM"; |
| 842 | 842 |
| 843 /** @domName SVGLocatable.getScreenCTM */ | 843 /** @domName SVGLocatable.getScreenCTM */ |
| 844 Matrix getScreenCTM() native; | 844 Matrix getScreenCtm() native "getScreenCTM"; |
| 845 | 845 |
| 846 /** @domName SVGLocatable.getTransformToElement */ | 846 /** @domName SVGLocatable.getTransformToElement */ |
| 847 Matrix getTransformToElement(SvgElement element) native; | 847 Matrix getTransformToElement(SvgElement element) native; |
| 848 | 848 |
| 849 // From SVGStylable | 849 // From SVGStylable |
| 850 | 850 |
| 851 /** @domName SVGStylable.className */ | 851 /** @domName SVGStylable.className */ |
| 852 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 852 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 853 | 853 |
| 854 // Use implementation from Element. | 854 // Use implementation from Element. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 /** @domName SVGColor.colorType */ | 895 /** @domName SVGColor.colorType */ |
| 896 final int colorType; | 896 final int colorType; |
| 897 | 897 |
| 898 /** @domName SVGColor.rgbColor */ | 898 /** @domName SVGColor.rgbColor */ |
| 899 final RGBColor rgbColor; | 899 final RGBColor rgbColor; |
| 900 | 900 |
| 901 /** @domName SVGColor.setColor */ | 901 /** @domName SVGColor.setColor */ |
| 902 void setColor(int colorType, String rgbColor, String iccColor) native; | 902 void setColor(int colorType, String rgbColor, String iccColor) native; |
| 903 | 903 |
| 904 /** @domName SVGColor.setRGBColor */ | 904 /** @domName SVGColor.setRGBColor */ |
| 905 void setRGBColor(String rgbColor) native; | 905 void setRgbColor(String rgbColor) native "setRGBColor"; |
| 906 | 906 |
| 907 /** @domName SVGColor.setRGBColorICCColor */ | 907 /** @domName SVGColor.setRGBColorICCColor */ |
| 908 void setRGBColorICCColor(String rgbColor, String iccColor) native; | 908 void setRgbColorIccColor(String rgbColor, String iccColor) native "setRGBColor
ICCColor"; |
| 909 } | 909 } |
| 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 911 // for details. All rights reserved. Use of this source code is governed by a | 911 // for details. All rights reserved. Use of this source code is governed by a |
| 912 // BSD-style license that can be found in the LICENSE file. | 912 // BSD-style license that can be found in the LICENSE file. |
| 913 | 913 |
| 914 | 914 |
| 915 /// @domName SVGComponentTransferFunctionElement | 915 /// @domName SVGComponentTransferFunctionElement |
| 916 class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT
ransferFunctionElement" { | 916 class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT
ransferFunctionElement" { |
| 917 | 917 |
| 918 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; | 918 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 /** @domName SVGLocatable.farthestViewportElement */ | 1016 /** @domName SVGLocatable.farthestViewportElement */ |
| 1017 final SvgElement farthestViewportElement; | 1017 final SvgElement farthestViewportElement; |
| 1018 | 1018 |
| 1019 /** @domName SVGLocatable.nearestViewportElement */ | 1019 /** @domName SVGLocatable.nearestViewportElement */ |
| 1020 final SvgElement nearestViewportElement; | 1020 final SvgElement nearestViewportElement; |
| 1021 | 1021 |
| 1022 /** @domName SVGLocatable.getBBox */ | 1022 /** @domName SVGLocatable.getBBox */ |
| 1023 Rect getBBox() native; | 1023 Rect getBBox() native; |
| 1024 | 1024 |
| 1025 /** @domName SVGLocatable.getCTM */ | 1025 /** @domName SVGLocatable.getCTM */ |
| 1026 Matrix getCTM() native; | 1026 Matrix getCtm() native "getCTM"; |
| 1027 | 1027 |
| 1028 /** @domName SVGLocatable.getScreenCTM */ | 1028 /** @domName SVGLocatable.getScreenCTM */ |
| 1029 Matrix getScreenCTM() native; | 1029 Matrix getScreenCtm() native "getScreenCTM"; |
| 1030 | 1030 |
| 1031 /** @domName SVGLocatable.getTransformToElement */ | 1031 /** @domName SVGLocatable.getTransformToElement */ |
| 1032 Matrix getTransformToElement(SvgElement element) native; | 1032 Matrix getTransformToElement(SvgElement element) native; |
| 1033 | 1033 |
| 1034 // From SVGStylable | 1034 // From SVGStylable |
| 1035 | 1035 |
| 1036 /** @domName SVGStylable.className */ | 1036 /** @domName SVGStylable.className */ |
| 1037 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 1037 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1038 | 1038 |
| 1039 // Use implementation from Element. | 1039 // Use implementation from Element. |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1252 /** @domName SVGLocatable.farthestViewportElement */ | 1252 /** @domName SVGLocatable.farthestViewportElement */ |
| 1253 final SvgElement farthestViewportElement; | 1253 final SvgElement farthestViewportElement; |
| 1254 | 1254 |
| 1255 /** @domName SVGLocatable.nearestViewportElement */ | 1255 /** @domName SVGLocatable.nearestViewportElement */ |
| 1256 final SvgElement nearestViewportElement; | 1256 final SvgElement nearestViewportElement; |
| 1257 | 1257 |
| 1258 /** @domName SVGLocatable.getBBox */ | 1258 /** @domName SVGLocatable.getBBox */ |
| 1259 Rect getBBox() native; | 1259 Rect getBBox() native; |
| 1260 | 1260 |
| 1261 /** @domName SVGLocatable.getCTM */ | 1261 /** @domName SVGLocatable.getCTM */ |
| 1262 Matrix getCTM() native; | 1262 Matrix getCtm() native "getCTM"; |
| 1263 | 1263 |
| 1264 /** @domName SVGLocatable.getScreenCTM */ | 1264 /** @domName SVGLocatable.getScreenCTM */ |
| 1265 Matrix getScreenCTM() native; | 1265 Matrix getScreenCtm() native "getScreenCTM"; |
| 1266 | 1266 |
| 1267 /** @domName SVGLocatable.getTransformToElement */ | 1267 /** @domName SVGLocatable.getTransformToElement */ |
| 1268 Matrix getTransformToElement(SvgElement element) native; | 1268 Matrix getTransformToElement(SvgElement element) native; |
| 1269 | 1269 |
| 1270 // From SVGStylable | 1270 // From SVGStylable |
| 1271 | 1271 |
| 1272 /** @domName SVGStylable.className */ | 1272 /** @domName SVGStylable.className */ |
| 1273 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 1273 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1274 | 1274 |
| 1275 // Use implementation from Element. | 1275 // Use implementation from Element. |
| (...skipping 1268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2544 /** @domName SVGLocatable.farthestViewportElement */ | 2544 /** @domName SVGLocatable.farthestViewportElement */ |
| 2545 final SvgElement farthestViewportElement; | 2545 final SvgElement farthestViewportElement; |
| 2546 | 2546 |
| 2547 /** @domName SVGLocatable.nearestViewportElement */ | 2547 /** @domName SVGLocatable.nearestViewportElement */ |
| 2548 final SvgElement nearestViewportElement; | 2548 final SvgElement nearestViewportElement; |
| 2549 | 2549 |
| 2550 /** @domName SVGLocatable.getBBox */ | 2550 /** @domName SVGLocatable.getBBox */ |
| 2551 Rect getBBox() native; | 2551 Rect getBBox() native; |
| 2552 | 2552 |
| 2553 /** @domName SVGLocatable.getCTM */ | 2553 /** @domName SVGLocatable.getCTM */ |
| 2554 Matrix getCTM() native; | 2554 Matrix getCtm() native "getCTM"; |
| 2555 | 2555 |
| 2556 /** @domName SVGLocatable.getScreenCTM */ | 2556 /** @domName SVGLocatable.getScreenCTM */ |
| 2557 Matrix getScreenCTM() native; | 2557 Matrix getScreenCtm() native "getScreenCTM"; |
| 2558 | 2558 |
| 2559 /** @domName SVGLocatable.getTransformToElement */ | 2559 /** @domName SVGLocatable.getTransformToElement */ |
| 2560 Matrix getTransformToElement(SvgElement element) native; | 2560 Matrix getTransformToElement(SvgElement element) native; |
| 2561 | 2561 |
| 2562 // From SVGStylable | 2562 // From SVGStylable |
| 2563 | 2563 |
| 2564 /** @domName SVGStylable.className */ | 2564 /** @domName SVGStylable.className */ |
| 2565 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 2565 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2566 | 2566 |
| 2567 // Use implementation from Element. | 2567 // Use implementation from Element. |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2617 /** @domName SVGLocatable.farthestViewportElement */ | 2617 /** @domName SVGLocatable.farthestViewportElement */ |
| 2618 final SvgElement farthestViewportElement; | 2618 final SvgElement farthestViewportElement; |
| 2619 | 2619 |
| 2620 /** @domName SVGLocatable.nearestViewportElement */ | 2620 /** @domName SVGLocatable.nearestViewportElement */ |
| 2621 final SvgElement nearestViewportElement; | 2621 final SvgElement nearestViewportElement; |
| 2622 | 2622 |
| 2623 /** @domName SVGLocatable.getBBox */ | 2623 /** @domName SVGLocatable.getBBox */ |
| 2624 Rect getBBox() native; | 2624 Rect getBBox() native; |
| 2625 | 2625 |
| 2626 /** @domName SVGLocatable.getCTM */ | 2626 /** @domName SVGLocatable.getCTM */ |
| 2627 Matrix getCTM() native; | 2627 Matrix getCtm() native "getCTM"; |
| 2628 | 2628 |
| 2629 /** @domName SVGLocatable.getScreenCTM */ | 2629 /** @domName SVGLocatable.getScreenCTM */ |
| 2630 Matrix getScreenCTM() native; | 2630 Matrix getScreenCtm() native "getScreenCTM"; |
| 2631 | 2631 |
| 2632 /** @domName SVGLocatable.getTransformToElement */ | 2632 /** @domName SVGLocatable.getTransformToElement */ |
| 2633 Matrix getTransformToElement(SvgElement element) native; | 2633 Matrix getTransformToElement(SvgElement element) native; |
| 2634 | 2634 |
| 2635 // From SVGStylable | 2635 // From SVGStylable |
| 2636 | 2636 |
| 2637 /** @domName SVGStylable.className */ | 2637 /** @domName SVGStylable.className */ |
| 2638 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 2638 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2639 | 2639 |
| 2640 // Use implementation from Element. | 2640 // Use implementation from Element. |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2813 /** @domName SVGLocatable.farthestViewportElement */ | 2813 /** @domName SVGLocatable.farthestViewportElement */ |
| 2814 final SvgElement farthestViewportElement; | 2814 final SvgElement farthestViewportElement; |
| 2815 | 2815 |
| 2816 /** @domName SVGLocatable.nearestViewportElement */ | 2816 /** @domName SVGLocatable.nearestViewportElement */ |
| 2817 final SvgElement nearestViewportElement; | 2817 final SvgElement nearestViewportElement; |
| 2818 | 2818 |
| 2819 /** @domName SVGLocatable.getBBox */ | 2819 /** @domName SVGLocatable.getBBox */ |
| 2820 Rect getBBox() native; | 2820 Rect getBBox() native; |
| 2821 | 2821 |
| 2822 /** @domName SVGLocatable.getCTM */ | 2822 /** @domName SVGLocatable.getCTM */ |
| 2823 Matrix getCTM() native; | 2823 Matrix getCtm() native "getCTM"; |
| 2824 | 2824 |
| 2825 /** @domName SVGLocatable.getScreenCTM */ | 2825 /** @domName SVGLocatable.getScreenCTM */ |
| 2826 Matrix getScreenCTM() native; | 2826 Matrix getScreenCtm() native "getScreenCTM"; |
| 2827 | 2827 |
| 2828 /** @domName SVGLocatable.getTransformToElement */ | 2828 /** @domName SVGLocatable.getTransformToElement */ |
| 2829 Matrix getTransformToElement(SvgElement element) native; | 2829 Matrix getTransformToElement(SvgElement element) native; |
| 2830 | 2830 |
| 2831 // From SVGStylable | 2831 // From SVGStylable |
| 2832 | 2832 |
| 2833 /** @domName SVGStylable.className */ | 2833 /** @domName SVGStylable.className */ |
| 2834 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 2834 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2835 | 2835 |
| 2836 // Use implementation from Element. | 2836 // Use implementation from Element. |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3080 /** @domName SVGLocatable.farthestViewportElement */ | 3080 /** @domName SVGLocatable.farthestViewportElement */ |
| 3081 final SvgElement farthestViewportElement; | 3081 final SvgElement farthestViewportElement; |
| 3082 | 3082 |
| 3083 /** @domName SVGLocatable.nearestViewportElement */ | 3083 /** @domName SVGLocatable.nearestViewportElement */ |
| 3084 final SvgElement nearestViewportElement; | 3084 final SvgElement nearestViewportElement; |
| 3085 | 3085 |
| 3086 /** @domName SVGLocatable.getBBox */ | 3086 /** @domName SVGLocatable.getBBox */ |
| 3087 Rect getBBox() native; | 3087 Rect getBBox() native; |
| 3088 | 3088 |
| 3089 /** @domName SVGLocatable.getCTM */ | 3089 /** @domName SVGLocatable.getCTM */ |
| 3090 Matrix getCTM() native; | 3090 Matrix getCtm() native "getCTM"; |
| 3091 | 3091 |
| 3092 /** @domName SVGLocatable.getScreenCTM */ | 3092 /** @domName SVGLocatable.getScreenCTM */ |
| 3093 Matrix getScreenCTM() native; | 3093 Matrix getScreenCtm() native "getScreenCTM"; |
| 3094 | 3094 |
| 3095 /** @domName SVGLocatable.getTransformToElement */ | 3095 /** @domName SVGLocatable.getTransformToElement */ |
| 3096 Matrix getTransformToElement(SvgElement element) native; | 3096 Matrix getTransformToElement(SvgElement element) native; |
| 3097 | 3097 |
| 3098 // From SVGStylable | 3098 // From SVGStylable |
| 3099 | 3099 |
| 3100 /** @domName SVGStylable.className */ | 3100 /** @domName SVGStylable.className */ |
| 3101 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 3101 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3102 | 3102 |
| 3103 // Use implementation from Element. | 3103 // Use implementation from Element. |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3600 /** @domName SVGPathElement.normalizedPathSegList */ | 3600 /** @domName SVGPathElement.normalizedPathSegList */ |
| 3601 final PathSegList normalizedPathSegList; | 3601 final PathSegList normalizedPathSegList; |
| 3602 | 3602 |
| 3603 /** @domName SVGPathElement.pathLength */ | 3603 /** @domName SVGPathElement.pathLength */ |
| 3604 final AnimatedNumber pathLength; | 3604 final AnimatedNumber pathLength; |
| 3605 | 3605 |
| 3606 /** @domName SVGPathElement.pathSegList */ | 3606 /** @domName SVGPathElement.pathSegList */ |
| 3607 final PathSegList pathSegList; | 3607 final PathSegList pathSegList; |
| 3608 | 3608 |
| 3609 /** @domName SVGPathElement.createSVGPathSegArcAbs */ | 3609 /** @domName SVGPathElement.createSVGPathSegArcAbs */ |
| 3610 PathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native; | 3610 PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native "createSVGPathSegArcAbs"; |
| 3611 | 3611 |
| 3612 /** @domName SVGPathElement.createSVGPathSegArcRel */ | 3612 /** @domName SVGPathElement.createSVGPathSegArcRel */ |
| 3613 PathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native; | 3613 PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native "createSVGPathSegArcRel"; |
| 3614 | 3614 |
| 3615 /** @domName SVGPathElement.createSVGPathSegClosePath */ | 3615 /** @domName SVGPathElement.createSVGPathSegClosePath */ |
| 3616 PathSegClosePath createSVGPathSegClosePath() native; | 3616 PathSegClosePath createSvgPathSegClosePath() native "createSVGPathSegClosePath
"; |
| 3617 | 3617 |
| 3618 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicAbs */ | 3618 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicAbs */ |
| 3619 PathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, n
um y1, num x2, num y2) native; | 3619 PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(num x, num y, num x1, n
um y1, num x2, num y2) native "createSVGPathSegCurvetoCubicAbs"; |
| 3620 | 3620 |
| 3621 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicRel */ | 3621 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicRel */ |
| 3622 PathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1, n
um y1, num x2, num y2) native; | 3622 PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(num x, num y, num x1, n
um y1, num x2, num y2) native "createSVGPathSegCurvetoCubicRel"; |
| 3623 | 3623 |
| 3624 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs */ | 3624 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs */ |
| 3625 PathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, num
y, num x2, num y2) native; | 3625 PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(num x, num
y, num x2, num y2) native "createSVGPathSegCurvetoCubicSmoothAbs"; |
| 3626 | 3626 |
| 3627 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel */ | 3627 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel */ |
| 3628 PathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, num
y, num x2, num y2) native; | 3628 PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(num x, num
y, num x2, num y2) native "createSVGPathSegCurvetoCubicSmoothRel"; |
| 3629 | 3629 |
| 3630 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticAbs */ | 3630 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticAbs */ |
| 3631 PathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y, n
um x1, num y1) native; | 3631 PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(num x, num y, n
um x1, num y1) native "createSVGPathSegCurvetoQuadraticAbs"; |
| 3632 | 3632 |
| 3633 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticRel */ | 3633 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticRel */ |
| 3634 PathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y, n
um x1, num y1) native; | 3634 PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(num x, num y, n
um x1, num y1) native "createSVGPathSegCurvetoQuadraticRel"; |
| 3635 | 3635 |
| 3636 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs */ | 3636 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs */ |
| 3637 PathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(num
x, num y) native; | 3637 PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(num
x, num y) native "createSVGPathSegCurvetoQuadraticSmoothAbs"; |
| 3638 | 3638 |
| 3639 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel */ | 3639 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel */ |
| 3640 PathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(num
x, num y) native; | 3640 PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(num
x, num y) native "createSVGPathSegCurvetoQuadraticSmoothRel"; |
| 3641 | 3641 |
| 3642 /** @domName SVGPathElement.createSVGPathSegLinetoAbs */ | 3642 /** @domName SVGPathElement.createSVGPathSegLinetoAbs */ |
| 3643 PathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) native; | 3643 PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native "createSVGPath
SegLinetoAbs"; |
| 3644 | 3644 |
| 3645 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalAbs */ | 3645 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalAbs */ |
| 3646 PathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) native; | 3646 PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native "
createSVGPathSegLinetoHorizontalAbs"; |
| 3647 | 3647 |
| 3648 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalRel */ | 3648 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalRel */ |
| 3649 PathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) native; | 3649 PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native "
createSVGPathSegLinetoHorizontalRel"; |
| 3650 | 3650 |
| 3651 /** @domName SVGPathElement.createSVGPathSegLinetoRel */ | 3651 /** @domName SVGPathElement.createSVGPathSegLinetoRel */ |
| 3652 PathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) native; | 3652 PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native "createSVGPath
SegLinetoRel"; |
| 3653 | 3653 |
| 3654 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalAbs */ | 3654 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalAbs */ |
| 3655 PathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) native; | 3655 PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native "crea
teSVGPathSegLinetoVerticalAbs"; |
| 3656 | 3656 |
| 3657 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalRel */ | 3657 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalRel */ |
| 3658 PathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) native; | 3658 PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native "crea
teSVGPathSegLinetoVerticalRel"; |
| 3659 | 3659 |
| 3660 /** @domName SVGPathElement.createSVGPathSegMovetoAbs */ | 3660 /** @domName SVGPathElement.createSVGPathSegMovetoAbs */ |
| 3661 PathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) native; | 3661 PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native "createSVGPath
SegMovetoAbs"; |
| 3662 | 3662 |
| 3663 /** @domName SVGPathElement.createSVGPathSegMovetoRel */ | 3663 /** @domName SVGPathElement.createSVGPathSegMovetoRel */ |
| 3664 PathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native; | 3664 PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native "createSVGPath
SegMovetoRel"; |
| 3665 | 3665 |
| 3666 /** @domName SVGPathElement.getPathSegAtLength */ | 3666 /** @domName SVGPathElement.getPathSegAtLength */ |
| 3667 int getPathSegAtLength(num distance) native; | 3667 int getPathSegAtLength(num distance) native; |
| 3668 | 3668 |
| 3669 /** @domName SVGPathElement.getPointAtLength */ | 3669 /** @domName SVGPathElement.getPointAtLength */ |
| 3670 Point getPointAtLength(num distance) native; | 3670 Point getPointAtLength(num distance) native; |
| 3671 | 3671 |
| 3672 /** @domName SVGPathElement.getTotalLength */ | 3672 /** @domName SVGPathElement.getTotalLength */ |
| 3673 num getTotalLength() native; | 3673 num getTotalLength() native; |
| 3674 | 3674 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3690 /** @domName SVGLocatable.farthestViewportElement */ | 3690 /** @domName SVGLocatable.farthestViewportElement */ |
| 3691 final SvgElement farthestViewportElement; | 3691 final SvgElement farthestViewportElement; |
| 3692 | 3692 |
| 3693 /** @domName SVGLocatable.nearestViewportElement */ | 3693 /** @domName SVGLocatable.nearestViewportElement */ |
| 3694 final SvgElement nearestViewportElement; | 3694 final SvgElement nearestViewportElement; |
| 3695 | 3695 |
| 3696 /** @domName SVGLocatable.getBBox */ | 3696 /** @domName SVGLocatable.getBBox */ |
| 3697 Rect getBBox() native; | 3697 Rect getBBox() native; |
| 3698 | 3698 |
| 3699 /** @domName SVGLocatable.getCTM */ | 3699 /** @domName SVGLocatable.getCTM */ |
| 3700 Matrix getCTM() native; | 3700 Matrix getCtm() native "getCTM"; |
| 3701 | 3701 |
| 3702 /** @domName SVGLocatable.getScreenCTM */ | 3702 /** @domName SVGLocatable.getScreenCTM */ |
| 3703 Matrix getScreenCTM() native; | 3703 Matrix getScreenCtm() native "getScreenCTM"; |
| 3704 | 3704 |
| 3705 /** @domName SVGLocatable.getTransformToElement */ | 3705 /** @domName SVGLocatable.getTransformToElement */ |
| 3706 Matrix getTransformToElement(SvgElement element) native; | 3706 Matrix getTransformToElement(SvgElement element) native; |
| 3707 | 3707 |
| 3708 // From SVGStylable | 3708 // From SVGStylable |
| 3709 | 3709 |
| 3710 /** @domName SVGStylable.className */ | 3710 /** @domName SVGStylable.className */ |
| 3711 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 3711 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3712 | 3712 |
| 3713 // Use implementation from Element. | 3713 // Use implementation from Element. |
| (...skipping 686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4400 /** @domName SVGLocatable.farthestViewportElement */ | 4400 /** @domName SVGLocatable.farthestViewportElement */ |
| 4401 final SvgElement farthestViewportElement; | 4401 final SvgElement farthestViewportElement; |
| 4402 | 4402 |
| 4403 /** @domName SVGLocatable.nearestViewportElement */ | 4403 /** @domName SVGLocatable.nearestViewportElement */ |
| 4404 final SvgElement nearestViewportElement; | 4404 final SvgElement nearestViewportElement; |
| 4405 | 4405 |
| 4406 /** @domName SVGLocatable.getBBox */ | 4406 /** @domName SVGLocatable.getBBox */ |
| 4407 Rect getBBox() native; | 4407 Rect getBBox() native; |
| 4408 | 4408 |
| 4409 /** @domName SVGLocatable.getCTM */ | 4409 /** @domName SVGLocatable.getCTM */ |
| 4410 Matrix getCTM() native; | 4410 Matrix getCtm() native "getCTM"; |
| 4411 | 4411 |
| 4412 /** @domName SVGLocatable.getScreenCTM */ | 4412 /** @domName SVGLocatable.getScreenCTM */ |
| 4413 Matrix getScreenCTM() native; | 4413 Matrix getScreenCtm() native "getScreenCTM"; |
| 4414 | 4414 |
| 4415 /** @domName SVGLocatable.getTransformToElement */ | 4415 /** @domName SVGLocatable.getTransformToElement */ |
| 4416 Matrix getTransformToElement(SvgElement element) native; | 4416 Matrix getTransformToElement(SvgElement element) native; |
| 4417 | 4417 |
| 4418 // From SVGStylable | 4418 // From SVGStylable |
| 4419 | 4419 |
| 4420 /** @domName SVGStylable.className */ | 4420 /** @domName SVGStylable.className */ |
| 4421 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 4421 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4422 | 4422 |
| 4423 // Use implementation from Element. | 4423 // Use implementation from Element. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4479 /** @domName SVGLocatable.farthestViewportElement */ | 4479 /** @domName SVGLocatable.farthestViewportElement */ |
| 4480 final SvgElement farthestViewportElement; | 4480 final SvgElement farthestViewportElement; |
| 4481 | 4481 |
| 4482 /** @domName SVGLocatable.nearestViewportElement */ | 4482 /** @domName SVGLocatable.nearestViewportElement */ |
| 4483 final SvgElement nearestViewportElement; | 4483 final SvgElement nearestViewportElement; |
| 4484 | 4484 |
| 4485 /** @domName SVGLocatable.getBBox */ | 4485 /** @domName SVGLocatable.getBBox */ |
| 4486 Rect getBBox() native; | 4486 Rect getBBox() native; |
| 4487 | 4487 |
| 4488 /** @domName SVGLocatable.getCTM */ | 4488 /** @domName SVGLocatable.getCTM */ |
| 4489 Matrix getCTM() native; | 4489 Matrix getCtm() native "getCTM"; |
| 4490 | 4490 |
| 4491 /** @domName SVGLocatable.getScreenCTM */ | 4491 /** @domName SVGLocatable.getScreenCTM */ |
| 4492 Matrix getScreenCTM() native; | 4492 Matrix getScreenCtm() native "getScreenCTM"; |
| 4493 | 4493 |
| 4494 /** @domName SVGLocatable.getTransformToElement */ | 4494 /** @domName SVGLocatable.getTransformToElement */ |
| 4495 Matrix getTransformToElement(SvgElement element) native; | 4495 Matrix getTransformToElement(SvgElement element) native; |
| 4496 | 4496 |
| 4497 // From SVGStylable | 4497 // From SVGStylable |
| 4498 | 4498 |
| 4499 /** @domName SVGStylable.className */ | 4499 /** @domName SVGStylable.className */ |
| 4500 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 4500 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4501 | 4501 |
| 4502 // Use implementation from Element. | 4502 // Use implementation from Element. |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4660 /** @domName SVGLocatable.farthestViewportElement */ | 4660 /** @domName SVGLocatable.farthestViewportElement */ |
| 4661 final SvgElement farthestViewportElement; | 4661 final SvgElement farthestViewportElement; |
| 4662 | 4662 |
| 4663 /** @domName SVGLocatable.nearestViewportElement */ | 4663 /** @domName SVGLocatable.nearestViewportElement */ |
| 4664 final SvgElement nearestViewportElement; | 4664 final SvgElement nearestViewportElement; |
| 4665 | 4665 |
| 4666 /** @domName SVGLocatable.getBBox */ | 4666 /** @domName SVGLocatable.getBBox */ |
| 4667 Rect getBBox() native; | 4667 Rect getBBox() native; |
| 4668 | 4668 |
| 4669 /** @domName SVGLocatable.getCTM */ | 4669 /** @domName SVGLocatable.getCTM */ |
| 4670 Matrix getCTM() native; | 4670 Matrix getCtm() native "getCTM"; |
| 4671 | 4671 |
| 4672 /** @domName SVGLocatable.getScreenCTM */ | 4672 /** @domName SVGLocatable.getScreenCTM */ |
| 4673 Matrix getScreenCTM() native; | 4673 Matrix getScreenCtm() native "getScreenCTM"; |
| 4674 | 4674 |
| 4675 /** @domName SVGLocatable.getTransformToElement */ | 4675 /** @domName SVGLocatable.getTransformToElement */ |
| 4676 Matrix getTransformToElement(SvgElement element) native; | 4676 Matrix getTransformToElement(SvgElement element) native; |
| 4677 | 4677 |
| 4678 // From SVGStylable | 4678 // From SVGStylable |
| 4679 | 4679 |
| 4680 /** @domName SVGStylable.className */ | 4680 /** @domName SVGStylable.className */ |
| 4681 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 4681 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4682 | 4682 |
| 4683 // Use implementation from Element. | 4683 // Use implementation from Element. |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5019 } | 5019 } |
| 5020 | 5020 |
| 5021 List<Element> get children => new FilteredElementList(this); | 5021 List<Element> get children => new FilteredElementList(this); |
| 5022 | 5022 |
| 5023 void set children(Collection<Element> value) { | 5023 void set children(Collection<Element> value) { |
| 5024 final children = this.children; | 5024 final children = this.children; |
| 5025 children.clear(); | 5025 children.clear(); |
| 5026 children.addAll(value); | 5026 children.addAll(value); |
| 5027 } | 5027 } |
| 5028 | 5028 |
| 5029 String get outerHTML { | 5029 String get outerHtml { |
| 5030 final container = new Element.tag("div"); | 5030 final container = new Element.tag("div"); |
| 5031 final SvgElement cloned = this.clone(true); | 5031 final SvgElement cloned = this.clone(true); |
| 5032 container.children.add(cloned); | 5032 container.children.add(cloned); |
| 5033 return container.innerHTML; | 5033 return container.innerHtml; |
| 5034 } | 5034 } |
| 5035 | 5035 |
| 5036 String get innerHTML { | 5036 String get innerHtml { |
| 5037 final container = new Element.tag("div"); | 5037 final container = new Element.tag("div"); |
| 5038 final SvgElement cloned = this.clone(true); | 5038 final SvgElement cloned = this.clone(true); |
| 5039 container.children.addAll(cloned.children); | 5039 container.children.addAll(cloned.children); |
| 5040 return container.innerHTML; | 5040 return container.innerHtml; |
| 5041 } | 5041 } |
| 5042 | 5042 |
| 5043 void set innerHTML(String svg) { | 5043 void set innerHtml(String svg) { |
| 5044 final container = new Element.tag("div"); | 5044 final container = new Element.tag("div"); |
| 5045 // Wrap the SVG string in <svg> so that SvgElements are created, rather than | 5045 // Wrap the SVG string in <svg> so that SvgElements are created, rather than |
| 5046 // HTMLElements. | 5046 // HTMLElements. |
| 5047 container.innerHTML = '<svg version="1.1">$svg</svg>'; | 5047 container.innerHtml = '<svg version="1.1">$svg</svg>'; |
| 5048 this.children = container.children[0].children; | 5048 this.children = container.children[0].children; |
| 5049 } | 5049 } |
| 5050 | 5050 |
| 5051 | 5051 |
| 5052 // Shadowing definition. | 5052 // Shadowing definition. |
| 5053 /** @domName SVGElement.id */ | 5053 /** @domName SVGElement.id */ |
| 5054 String get id => JS("String", "#.id", this); | 5054 String get id => JS("String", "#.id", this); |
| 5055 | 5055 |
| 5056 /** @domName SVGElement.id */ | 5056 /** @domName SVGElement.id */ |
| 5057 void set id(String value) { | 5057 void set id(String value) { |
| 5058 JS("void", "#.id = #", this, value); | 5058 JS("void", "#.id = #", this, value); |
| 5059 } | 5059 } |
| 5060 | 5060 |
| 5061 /** @domName SVGElement.ownerSVGElement */ | 5061 /** @domName SVGElement.ownerSVGElement */ |
| 5062 final SvgSvgElement ownerSVGElement; | 5062 SvgSvgElement get ownerSvgElement => JS("SvgSvgElement", "#.ownerSVGElement",
this); |
| 5063 | 5063 |
| 5064 /** @domName SVGElement.viewportElement */ | 5064 /** @domName SVGElement.viewportElement */ |
| 5065 final SvgElement viewportElement; | 5065 final SvgElement viewportElement; |
| 5066 | 5066 |
| 5067 /** @domName SVGElement.xmlbase */ | 5067 /** @domName SVGElement.xmlbase */ |
| 5068 String xmlbase; | 5068 String xmlbase; |
| 5069 | 5069 |
| 5070 } | 5070 } |
| 5071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5072 // for details. All rights reserved. Use of this source code is governed by a | 5072 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5125 /** @domName SVGSVGElement.animationsPaused */ | 5125 /** @domName SVGSVGElement.animationsPaused */ |
| 5126 bool animationsPaused() native; | 5126 bool animationsPaused() native; |
| 5127 | 5127 |
| 5128 /** @domName SVGSVGElement.checkEnclosure */ | 5128 /** @domName SVGSVGElement.checkEnclosure */ |
| 5129 bool checkEnclosure(SvgElement element, Rect rect) native; | 5129 bool checkEnclosure(SvgElement element, Rect rect) native; |
| 5130 | 5130 |
| 5131 /** @domName SVGSVGElement.checkIntersection */ | 5131 /** @domName SVGSVGElement.checkIntersection */ |
| 5132 bool checkIntersection(SvgElement element, Rect rect) native; | 5132 bool checkIntersection(SvgElement element, Rect rect) native; |
| 5133 | 5133 |
| 5134 /** @domName SVGSVGElement.createSVGAngle */ | 5134 /** @domName SVGSVGElement.createSVGAngle */ |
| 5135 Angle createSVGAngle() native; | 5135 Angle createSvgAngle() native "createSVGAngle"; |
| 5136 | 5136 |
| 5137 /** @domName SVGSVGElement.createSVGLength */ | 5137 /** @domName SVGSVGElement.createSVGLength */ |
| 5138 Length createSVGLength() native; | 5138 Length createSvgLength() native "createSVGLength"; |
| 5139 | 5139 |
| 5140 /** @domName SVGSVGElement.createSVGMatrix */ | 5140 /** @domName SVGSVGElement.createSVGMatrix */ |
| 5141 Matrix createSVGMatrix() native; | 5141 Matrix createSvgMatrix() native "createSVGMatrix"; |
| 5142 | 5142 |
| 5143 /** @domName SVGSVGElement.createSVGNumber */ | 5143 /** @domName SVGSVGElement.createSVGNumber */ |
| 5144 Number createSVGNumber() native; | 5144 Number createSvgNumber() native "createSVGNumber"; |
| 5145 | 5145 |
| 5146 /** @domName SVGSVGElement.createSVGPoint */ | 5146 /** @domName SVGSVGElement.createSVGPoint */ |
| 5147 Point createSVGPoint() native; | 5147 Point createSvgPoint() native "createSVGPoint"; |
| 5148 | 5148 |
| 5149 /** @domName SVGSVGElement.createSVGRect */ | 5149 /** @domName SVGSVGElement.createSVGRect */ |
| 5150 Rect createSVGRect() native; | 5150 Rect createSvgRect() native "createSVGRect"; |
| 5151 | 5151 |
| 5152 /** @domName SVGSVGElement.createSVGTransform */ | 5152 /** @domName SVGSVGElement.createSVGTransform */ |
| 5153 Transform createSVGTransform() native; | 5153 Transform createSvgTransform() native "createSVGTransform"; |
| 5154 | 5154 |
| 5155 /** @domName SVGSVGElement.createSVGTransformFromMatrix */ | 5155 /** @domName SVGSVGElement.createSVGTransformFromMatrix */ |
| 5156 Transform createSVGTransformFromMatrix(Matrix matrix) native; | 5156 Transform createSvgTransformFromMatrix(Matrix matrix) native "createSVGTransfo
rmFromMatrix"; |
| 5157 | 5157 |
| 5158 /** @domName SVGSVGElement.deselectAll */ | 5158 /** @domName SVGSVGElement.deselectAll */ |
| 5159 void deselectAll() native; | 5159 void deselectAll() native; |
| 5160 | 5160 |
| 5161 /** @domName SVGSVGElement.forceRedraw */ | 5161 /** @domName SVGSVGElement.forceRedraw */ |
| 5162 void forceRedraw() native; | 5162 void forceRedraw() native; |
| 5163 | 5163 |
| 5164 /** @domName SVGSVGElement.getCurrentTime */ | 5164 /** @domName SVGSVGElement.getCurrentTime */ |
| 5165 num getCurrentTime() native; | 5165 num getCurrentTime() native; |
| 5166 | 5166 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5217 /** @domName SVGLocatable.farthestViewportElement */ | 5217 /** @domName SVGLocatable.farthestViewportElement */ |
| 5218 final SvgElement farthestViewportElement; | 5218 final SvgElement farthestViewportElement; |
| 5219 | 5219 |
| 5220 /** @domName SVGLocatable.nearestViewportElement */ | 5220 /** @domName SVGLocatable.nearestViewportElement */ |
| 5221 final SvgElement nearestViewportElement; | 5221 final SvgElement nearestViewportElement; |
| 5222 | 5222 |
| 5223 /** @domName SVGLocatable.getBBox */ | 5223 /** @domName SVGLocatable.getBBox */ |
| 5224 Rect getBBox() native; | 5224 Rect getBBox() native; |
| 5225 | 5225 |
| 5226 /** @domName SVGLocatable.getCTM */ | 5226 /** @domName SVGLocatable.getCTM */ |
| 5227 Matrix getCTM() native; | 5227 Matrix getCtm() native "getCTM"; |
| 5228 | 5228 |
| 5229 /** @domName SVGLocatable.getScreenCTM */ | 5229 /** @domName SVGLocatable.getScreenCTM */ |
| 5230 Matrix getScreenCTM() native; | 5230 Matrix getScreenCtm() native "getScreenCTM"; |
| 5231 | 5231 |
| 5232 /** @domName SVGLocatable.getTransformToElement */ | 5232 /** @domName SVGLocatable.getTransformToElement */ |
| 5233 Matrix getTransformToElement(SvgElement element) native; | 5233 Matrix getTransformToElement(SvgElement element) native; |
| 5234 | 5234 |
| 5235 // From SVGStylable | 5235 // From SVGStylable |
| 5236 | 5236 |
| 5237 /** @domName SVGStylable.className */ | 5237 /** @domName SVGStylable.className */ |
| 5238 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 5238 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5239 | 5239 |
| 5240 // Use implementation from Element. | 5240 // Use implementation from Element. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5291 /** @domName SVGLocatable.farthestViewportElement */ | 5291 /** @domName SVGLocatable.farthestViewportElement */ |
| 5292 final SvgElement farthestViewportElement; | 5292 final SvgElement farthestViewportElement; |
| 5293 | 5293 |
| 5294 /** @domName SVGLocatable.nearestViewportElement */ | 5294 /** @domName SVGLocatable.nearestViewportElement */ |
| 5295 final SvgElement nearestViewportElement; | 5295 final SvgElement nearestViewportElement; |
| 5296 | 5296 |
| 5297 /** @domName SVGLocatable.getBBox */ | 5297 /** @domName SVGLocatable.getBBox */ |
| 5298 Rect getBBox() native; | 5298 Rect getBBox() native; |
| 5299 | 5299 |
| 5300 /** @domName SVGLocatable.getCTM */ | 5300 /** @domName SVGLocatable.getCTM */ |
| 5301 Matrix getCTM() native; | 5301 Matrix getCtm() native "getCTM"; |
| 5302 | 5302 |
| 5303 /** @domName SVGLocatable.getScreenCTM */ | 5303 /** @domName SVGLocatable.getScreenCTM */ |
| 5304 Matrix getScreenCTM() native; | 5304 Matrix getScreenCtm() native "getScreenCTM"; |
| 5305 | 5305 |
| 5306 /** @domName SVGLocatable.getTransformToElement */ | 5306 /** @domName SVGLocatable.getTransformToElement */ |
| 5307 Matrix getTransformToElement(SvgElement element) native; | 5307 Matrix getTransformToElement(SvgElement element) native; |
| 5308 | 5308 |
| 5309 // From SVGStylable | 5309 // From SVGStylable |
| 5310 | 5310 |
| 5311 /** @domName SVGStylable.className */ | 5311 /** @domName SVGStylable.className */ |
| 5312 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 5312 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5313 | 5313 |
| 5314 // Use implementation from Element. | 5314 // Use implementation from Element. |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5520 /** @domName SVGLocatable.farthestViewportElement */ | 5520 /** @domName SVGLocatable.farthestViewportElement */ |
| 5521 final SvgElement farthestViewportElement; | 5521 final SvgElement farthestViewportElement; |
| 5522 | 5522 |
| 5523 /** @domName SVGLocatable.nearestViewportElement */ | 5523 /** @domName SVGLocatable.nearestViewportElement */ |
| 5524 final SvgElement nearestViewportElement; | 5524 final SvgElement nearestViewportElement; |
| 5525 | 5525 |
| 5526 /** @domName SVGLocatable.getBBox */ | 5526 /** @domName SVGLocatable.getBBox */ |
| 5527 Rect getBBox() native; | 5527 Rect getBBox() native; |
| 5528 | 5528 |
| 5529 /** @domName SVGLocatable.getCTM */ | 5529 /** @domName SVGLocatable.getCTM */ |
| 5530 Matrix getCTM() native; | 5530 Matrix getCtm() native "getCTM"; |
| 5531 | 5531 |
| 5532 /** @domName SVGLocatable.getScreenCTM */ | 5532 /** @domName SVGLocatable.getScreenCTM */ |
| 5533 Matrix getScreenCTM() native; | 5533 Matrix getScreenCtm() native "getScreenCTM"; |
| 5534 | 5534 |
| 5535 /** @domName SVGLocatable.getTransformToElement */ | 5535 /** @domName SVGLocatable.getTransformToElement */ |
| 5536 Matrix getTransformToElement(SvgElement element) native; | 5536 Matrix getTransformToElement(SvgElement element) native; |
| 5537 | 5537 |
| 5538 // From SVGTransformable | 5538 // From SVGTransformable |
| 5539 | 5539 |
| 5540 /** @domName SVGTransformable.transform */ | 5540 /** @domName SVGTransformable.transform */ |
| 5541 final AnimatedTransformList transform; | 5541 final AnimatedTransformList transform; |
| 5542 } | 5542 } |
| 5543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5774 /** @domName SVGTransformList.appendItem */ | 5774 /** @domName SVGTransformList.appendItem */ |
| 5775 Transform appendItem(Transform item) native; | 5775 Transform appendItem(Transform item) native; |
| 5776 | 5776 |
| 5777 /** @domName SVGTransformList.clear */ | 5777 /** @domName SVGTransformList.clear */ |
| 5778 void clear() native; | 5778 void clear() native; |
| 5779 | 5779 |
| 5780 /** @domName SVGTransformList.consolidate */ | 5780 /** @domName SVGTransformList.consolidate */ |
| 5781 Transform consolidate() native; | 5781 Transform consolidate() native; |
| 5782 | 5782 |
| 5783 /** @domName SVGTransformList.createSVGTransformFromMatrix */ | 5783 /** @domName SVGTransformList.createSVGTransformFromMatrix */ |
| 5784 Transform createSVGTransformFromMatrix(Matrix matrix) native; | 5784 Transform createSvgTransformFromMatrix(Matrix matrix) native "createSVGTransfo
rmFromMatrix"; |
| 5785 | 5785 |
| 5786 /** @domName SVGTransformList.getItem */ | 5786 /** @domName SVGTransformList.getItem */ |
| 5787 Transform getItem(int index) native; | 5787 Transform getItem(int index) native; |
| 5788 | 5788 |
| 5789 /** @domName SVGTransformList.initialize */ | 5789 /** @domName SVGTransformList.initialize */ |
| 5790 Transform initialize(Transform item) native; | 5790 Transform initialize(Transform item) native; |
| 5791 | 5791 |
| 5792 /** @domName SVGTransformList.insertItemBefore */ | 5792 /** @domName SVGTransformList.insertItemBefore */ |
| 5793 Transform insertItemBefore(Transform item, int index) native; | 5793 Transform insertItemBefore(Transform item, int index) native; |
| 5794 | 5794 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5896 /** @domName SVGLocatable.farthestViewportElement */ | 5896 /** @domName SVGLocatable.farthestViewportElement */ |
| 5897 final SvgElement farthestViewportElement; | 5897 final SvgElement farthestViewportElement; |
| 5898 | 5898 |
| 5899 /** @domName SVGLocatable.nearestViewportElement */ | 5899 /** @domName SVGLocatable.nearestViewportElement */ |
| 5900 final SvgElement nearestViewportElement; | 5900 final SvgElement nearestViewportElement; |
| 5901 | 5901 |
| 5902 /** @domName SVGLocatable.getBBox */ | 5902 /** @domName SVGLocatable.getBBox */ |
| 5903 Rect getBBox() native; | 5903 Rect getBBox() native; |
| 5904 | 5904 |
| 5905 /** @domName SVGLocatable.getCTM */ | 5905 /** @domName SVGLocatable.getCTM */ |
| 5906 Matrix getCTM() native; | 5906 Matrix getCtm() native "getCTM"; |
| 5907 | 5907 |
| 5908 /** @domName SVGLocatable.getScreenCTM */ | 5908 /** @domName SVGLocatable.getScreenCTM */ |
| 5909 Matrix getScreenCTM() native; | 5909 Matrix getScreenCtm() native "getScreenCTM"; |
| 5910 | 5910 |
| 5911 /** @domName SVGLocatable.getTransformToElement */ | 5911 /** @domName SVGLocatable.getTransformToElement */ |
| 5912 Matrix getTransformToElement(SvgElement element) native; | 5912 Matrix getTransformToElement(SvgElement element) native; |
| 5913 | 5913 |
| 5914 // From SVGStylable | 5914 // From SVGStylable |
| 5915 | 5915 |
| 5916 /** @domName SVGStylable.className */ | 5916 /** @domName SVGStylable.className */ |
| 5917 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); | 5917 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5918 | 5918 |
| 5919 // Use implementation from Element. | 5919 // Use implementation from Element. |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6153 } | 6153 } |
| 6154 | 6154 |
| 6155 List<ElementInstance> getRange(int start, int rangeLength) => | 6155 List<ElementInstance> getRange(int start, int rangeLength) => |
| 6156 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); | 6156 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 6157 | 6157 |
| 6158 // -- end List<ElementInstance> mixins. | 6158 // -- end List<ElementInstance> mixins. |
| 6159 | 6159 |
| 6160 /** @domName SVGElementInstanceList.item */ | 6160 /** @domName SVGElementInstanceList.item */ |
| 6161 ElementInstance item(int index) native; | 6161 ElementInstance item(int index) native; |
| 6162 } | 6162 } |
| OLD | NEW |