Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 2830503002: Run formatter on dev_compiler. (Closed)
Patch Set: Run formatter on dev_compiler. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 @DomName('SVGAngle.valueAsString') 110 @DomName('SVGAngle.valueAsString')
111 @DocsEditable() 111 @DocsEditable()
112 String valueAsString; 112 String valueAsString;
113 113
114 @DomName('SVGAngle.valueInSpecifiedUnits') 114 @DomName('SVGAngle.valueInSpecifiedUnits')
115 @DocsEditable() 115 @DocsEditable()
116 num valueInSpecifiedUnits; 116 num valueInSpecifiedUnits;
117 117
118 @DomName('SVGAngle.convertToSpecifiedUnits') 118 @DomName('SVGAngle.convertToSpecifiedUnits')
119 @DocsEditable() 119 @DocsEditable()
120 void convertToSpecifiedUnits(int unitType) native ; 120 void convertToSpecifiedUnits(int unitType) native;
121 121
122 @DomName('SVGAngle.newValueSpecifiedUnits') 122 @DomName('SVGAngle.newValueSpecifiedUnits')
123 @DocsEditable() 123 @DocsEditable()
124 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native ; 124 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
125 } 125 }
126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
127 // for details. All rights reserved. Use of this source code is governed by a 127 // for details. All rights reserved. Use of this source code is governed by a
128 // BSD-style license that can be found in the LICENSE file. 128 // BSD-style license that can be found in the LICENSE file.
129 129
130 @DocsEditable() 130 @DocsEditable()
131 @DomName('SVGAnimateElement') 131 @DomName('SVGAnimateElement')
132 @SupportedBrowser(SupportedBrowser.CHROME) 132 @SupportedBrowser(SupportedBrowser.CHROME)
133 @SupportedBrowser(SupportedBrowser.FIREFOX) 133 @SupportedBrowser(SupportedBrowser.FIREFOX)
134 @SupportedBrowser(SupportedBrowser.SAFARI) 134 @SupportedBrowser(SupportedBrowser.SAFARI)
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 * This can only be called by subclasses from their created constructor. 510 * This can only be called by subclasses from their created constructor.
511 */ 511 */
512 AnimationElement.created() : super.created(); 512 AnimationElement.created() : super.created();
513 513
514 @DomName('SVGAnimationElement.targetElement') 514 @DomName('SVGAnimationElement.targetElement')
515 @DocsEditable() 515 @DocsEditable()
516 final SvgElement targetElement; 516 final SvgElement targetElement;
517 517
518 @DomName('SVGAnimationElement.beginElement') 518 @DomName('SVGAnimationElement.beginElement')
519 @DocsEditable() 519 @DocsEditable()
520 void beginElement() native ; 520 void beginElement() native;
521 521
522 @DomName('SVGAnimationElement.beginElementAt') 522 @DomName('SVGAnimationElement.beginElementAt')
523 @DocsEditable() 523 @DocsEditable()
524 void beginElementAt(num offset) native ; 524 void beginElementAt(num offset) native;
525 525
526 @DomName('SVGAnimationElement.endElement') 526 @DomName('SVGAnimationElement.endElement')
527 @DocsEditable() 527 @DocsEditable()
528 void endElement() native ; 528 void endElement() native;
529 529
530 @DomName('SVGAnimationElement.endElementAt') 530 @DomName('SVGAnimationElement.endElementAt')
531 @DocsEditable() 531 @DocsEditable()
532 void endElementAt(num offset) native ; 532 void endElementAt(num offset) native;
533 533
534 @DomName('SVGAnimationElement.getCurrentTime') 534 @DomName('SVGAnimationElement.getCurrentTime')
535 @DocsEditable() 535 @DocsEditable()
536 double getCurrentTime() native ; 536 double getCurrentTime() native;
537 537
538 @DomName('SVGAnimationElement.getSimpleDuration') 538 @DomName('SVGAnimationElement.getSimpleDuration')
539 @DocsEditable() 539 @DocsEditable()
540 double getSimpleDuration() native ; 540 double getSimpleDuration() native;
541 541
542 @DomName('SVGAnimationElement.getStartTime') 542 @DomName('SVGAnimationElement.getStartTime')
543 @DocsEditable() 543 @DocsEditable()
544 double getStartTime() native ; 544 double getStartTime() native;
545 545
546 // From SVGTests 546 // From SVGTests
547 547
548 @DomName('SVGAnimationElement.requiredExtensions') 548 @DomName('SVGAnimationElement.requiredExtensions')
549 @DocsEditable() 549 @DocsEditable()
550 final StringList requiredExtensions; 550 final StringList requiredExtensions;
551 551
552 @DomName('SVGAnimationElement.requiredFeatures') 552 @DomName('SVGAnimationElement.requiredFeatures')
553 @DocsEditable() 553 @DocsEditable()
554 final StringList requiredFeatures; 554 final StringList requiredFeatures;
555 555
556 @DomName('SVGAnimationElement.systemLanguage') 556 @DomName('SVGAnimationElement.systemLanguage')
557 @DocsEditable() 557 @DocsEditable()
558 final StringList systemLanguage; 558 final StringList systemLanguage;
559 559
560 @DomName('SVGAnimationElement.hasExtension') 560 @DomName('SVGAnimationElement.hasExtension')
561 @DocsEditable() 561 @DocsEditable()
562 bool hasExtension(String extension) native ; 562 bool hasExtension(String extension) native;
563 } 563 }
564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
565 // for details. All rights reserved. Use of this source code is governed by a 565 // for details. All rights reserved. Use of this source code is governed by a
566 // BSD-style license that can be found in the LICENSE file. 566 // BSD-style license that can be found in the LICENSE file.
567 567
568 @DocsEditable() 568 @DocsEditable()
569 @DomName('SVGCircleElement') 569 @DomName('SVGCircleElement')
570 @Unstable() 570 @Unstable()
571 @Native("SVGCircleElement") 571 @Native("SVGCircleElement")
572 class CircleElement extends GeometryElement { 572 class CircleElement extends GeometryElement {
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1652 @DomName('SVGFEGaussianBlurElement.stdDeviationX') 1652 @DomName('SVGFEGaussianBlurElement.stdDeviationX')
1653 @DocsEditable() 1653 @DocsEditable()
1654 final AnimatedNumber stdDeviationX; 1654 final AnimatedNumber stdDeviationX;
1655 1655
1656 @DomName('SVGFEGaussianBlurElement.stdDeviationY') 1656 @DomName('SVGFEGaussianBlurElement.stdDeviationY')
1657 @DocsEditable() 1657 @DocsEditable()
1658 final AnimatedNumber stdDeviationY; 1658 final AnimatedNumber stdDeviationY;
1659 1659
1660 @DomName('SVGFEGaussianBlurElement.setStdDeviation') 1660 @DomName('SVGFEGaussianBlurElement.setStdDeviation')
1661 @DocsEditable() 1661 @DocsEditable()
1662 void setStdDeviation(num stdDeviationX, num stdDeviationY) native ; 1662 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
1663 1663
1664 // From SVGFilterPrimitiveStandardAttributes 1664 // From SVGFilterPrimitiveStandardAttributes
1665 1665
1666 @DomName('SVGFEGaussianBlurElement.height') 1666 @DomName('SVGFEGaussianBlurElement.height')
1667 @DocsEditable() 1667 @DocsEditable()
1668 final AnimatedLength height; 1668 final AnimatedLength height;
1669 1669
1670 @DomName('SVGFEGaussianBlurElement.result') 1670 @DomName('SVGFEGaussianBlurElement.result')
1671 @DocsEditable() 1671 @DocsEditable()
1672 final AnimatedString result; 1672 final AnimatedString result;
(...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
2543 /** 2543 /**
2544 * Constructor instantiated by the DOM when a custom element has been created. 2544 * Constructor instantiated by the DOM when a custom element has been created.
2545 * 2545 *
2546 * This can only be called by subclasses from their created constructor. 2546 * This can only be called by subclasses from their created constructor.
2547 */ 2547 */
2548 GeometryElement.created() : super.created(); 2548 GeometryElement.created() : super.created();
2549 2549
2550 @DomName('SVGGeometryElement.isPointInFill') 2550 @DomName('SVGGeometryElement.isPointInFill')
2551 @DocsEditable() 2551 @DocsEditable()
2552 @Experimental() // untriaged 2552 @Experimental() // untriaged
2553 bool isPointInFill(Point point) native ; 2553 bool isPointInFill(Point point) native;
2554 2554
2555 @DomName('SVGGeometryElement.isPointInStroke') 2555 @DomName('SVGGeometryElement.isPointInStroke')
2556 @DocsEditable() 2556 @DocsEditable()
2557 @Experimental() // untriaged 2557 @Experimental() // untriaged
2558 bool isPointInStroke(Point point) native ; 2558 bool isPointInStroke(Point point) native;
2559 } 2559 }
2560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2561 // for details. All rights reserved. Use of this source code is governed by a 2561 // for details. All rights reserved. Use of this source code is governed by a
2562 // BSD-style license that can be found in the LICENSE file. 2562 // BSD-style license that can be found in the LICENSE file.
2563 2563
2564 @DocsEditable() 2564 @DocsEditable()
2565 @DomName('SVGGraphicsElement') 2565 @DomName('SVGGraphicsElement')
2566 @Experimental() // untriaged 2566 @Experimental() // untriaged
2567 @Native("SVGGraphicsElement") 2567 @Native("SVGGraphicsElement")
2568 class GraphicsElement extends SvgElement implements Tests { 2568 class GraphicsElement extends SvgElement implements Tests {
(...skipping 19 matching lines...) Expand all
2588 final SvgElement nearestViewportElement; 2588 final SvgElement nearestViewportElement;
2589 2589
2590 @DomName('SVGGraphicsElement.transform') 2590 @DomName('SVGGraphicsElement.transform')
2591 @DocsEditable() 2591 @DocsEditable()
2592 @Experimental() // untriaged 2592 @Experimental() // untriaged
2593 final AnimatedTransformList transform; 2593 final AnimatedTransformList transform;
2594 2594
2595 @DomName('SVGGraphicsElement.getBBox') 2595 @DomName('SVGGraphicsElement.getBBox')
2596 @DocsEditable() 2596 @DocsEditable()
2597 @Experimental() // untriaged 2597 @Experimental() // untriaged
2598 Rect getBBox() native ; 2598 Rect getBBox() native;
2599 2599
2600 @JSName('getCTM') 2600 @JSName('getCTM')
2601 @DomName('SVGGraphicsElement.getCTM') 2601 @DomName('SVGGraphicsElement.getCTM')
2602 @DocsEditable() 2602 @DocsEditable()
2603 @Experimental() // untriaged 2603 @Experimental() // untriaged
2604 Matrix getCtm() native ; 2604 Matrix getCtm() native;
2605 2605
2606 @JSName('getScreenCTM') 2606 @JSName('getScreenCTM')
2607 @DomName('SVGGraphicsElement.getScreenCTM') 2607 @DomName('SVGGraphicsElement.getScreenCTM')
2608 @DocsEditable() 2608 @DocsEditable()
2609 @Experimental() // untriaged 2609 @Experimental() // untriaged
2610 Matrix getScreenCtm() native ; 2610 Matrix getScreenCtm() native;
2611 2611
2612 @DomName('SVGGraphicsElement.getTransformToElement') 2612 @DomName('SVGGraphicsElement.getTransformToElement')
2613 @DocsEditable() 2613 @DocsEditable()
2614 @Experimental() // untriaged 2614 @Experimental() // untriaged
2615 Matrix getTransformToElement(SvgElement element) native ; 2615 Matrix getTransformToElement(SvgElement element) native;
2616 2616
2617 // From SVGTests 2617 // From SVGTests
2618 2618
2619 @DomName('SVGGraphicsElement.requiredExtensions') 2619 @DomName('SVGGraphicsElement.requiredExtensions')
2620 @DocsEditable() 2620 @DocsEditable()
2621 @Experimental() // untriaged 2621 @Experimental() // untriaged
2622 final StringList requiredExtensions; 2622 final StringList requiredExtensions;
2623 2623
2624 @DomName('SVGGraphicsElement.requiredFeatures') 2624 @DomName('SVGGraphicsElement.requiredFeatures')
2625 @DocsEditable() 2625 @DocsEditable()
2626 @Experimental() // untriaged 2626 @Experimental() // untriaged
2627 final StringList requiredFeatures; 2627 final StringList requiredFeatures;
2628 2628
2629 @DomName('SVGGraphicsElement.systemLanguage') 2629 @DomName('SVGGraphicsElement.systemLanguage')
2630 @DocsEditable() 2630 @DocsEditable()
2631 @Experimental() // untriaged 2631 @Experimental() // untriaged
2632 final StringList systemLanguage; 2632 final StringList systemLanguage;
2633 2633
2634 @DomName('SVGGraphicsElement.hasExtension') 2634 @DomName('SVGGraphicsElement.hasExtension')
2635 @DocsEditable() 2635 @DocsEditable()
2636 @Experimental() // untriaged 2636 @Experimental() // untriaged
2637 bool hasExtension(String extension) native ; 2637 bool hasExtension(String extension) native;
2638 } 2638 }
2639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2640 // for details. All rights reserved. Use of this source code is governed by a 2640 // for details. All rights reserved. Use of this source code is governed by a
2641 // BSD-style license that can be found in the LICENSE file. 2641 // BSD-style license that can be found in the LICENSE file.
2642 2642
2643 @DocsEditable() 2643 @DocsEditable()
2644 @DomName('SVGImageElement') 2644 @DomName('SVGImageElement')
2645 @Unstable() 2645 @Unstable()
2646 @Native("SVGImageElement") 2646 @Native("SVGImageElement")
2647 class ImageElement extends GraphicsElement implements UriReference { 2647 class ImageElement extends GraphicsElement implements UriReference {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
2756 @DomName('SVGLength.valueAsString') 2756 @DomName('SVGLength.valueAsString')
2757 @DocsEditable() 2757 @DocsEditable()
2758 String valueAsString; 2758 String valueAsString;
2759 2759
2760 @DomName('SVGLength.valueInSpecifiedUnits') 2760 @DomName('SVGLength.valueInSpecifiedUnits')
2761 @DocsEditable() 2761 @DocsEditable()
2762 num valueInSpecifiedUnits; 2762 num valueInSpecifiedUnits;
2763 2763
2764 @DomName('SVGLength.convertToSpecifiedUnits') 2764 @DomName('SVGLength.convertToSpecifiedUnits')
2765 @DocsEditable() 2765 @DocsEditable()
2766 void convertToSpecifiedUnits(int unitType) native ; 2766 void convertToSpecifiedUnits(int unitType) native;
2767 2767
2768 @DomName('SVGLength.newValueSpecifiedUnits') 2768 @DomName('SVGLength.newValueSpecifiedUnits')
2769 @DocsEditable() 2769 @DocsEditable()
2770 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native ; 2770 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
2771 } 2771 }
2772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2773 // for details. All rights reserved. Use of this source code is governed by a 2773 // for details. All rights reserved. Use of this source code is governed by a
2774 // BSD-style license that can be found in the LICENSE file. 2774 // BSD-style license that can be found in the LICENSE file.
2775 2775
2776 @DocsEditable() 2776 @DocsEditable()
2777 @DomName('SVGLengthList') 2777 @DomName('SVGLengthList')
2778 @Unstable() 2778 @Unstable()
2779 @Native("SVGLengthList") 2779 @Native("SVGLengthList")
2780 class LengthList extends Interceptor 2780 class LengthList extends Interceptor
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
2833 if (len == 0) throw new StateError("No elements"); 2833 if (len == 0) throw new StateError("No elements");
2834 throw new StateError("More than one element"); 2834 throw new StateError("More than one element");
2835 } 2835 }
2836 2836
2837 Length elementAt(int index) => this[index]; 2837 Length elementAt(int index) => this[index];
2838 // -- end List<Length> mixins. 2838 // -- end List<Length> mixins.
2839 2839
2840 @DomName('SVGLengthList.__setter__') 2840 @DomName('SVGLengthList.__setter__')
2841 @DocsEditable() 2841 @DocsEditable()
2842 @Experimental() // untriaged 2842 @Experimental() // untriaged
2843 void __setter__(int index, Length newItem) native ; 2843 void __setter__(int index, Length newItem) native;
2844 2844
2845 @DomName('SVGLengthList.appendItem') 2845 @DomName('SVGLengthList.appendItem')
2846 @DocsEditable() 2846 @DocsEditable()
2847 Length appendItem(Length newItem) native ; 2847 Length appendItem(Length newItem) native;
2848 2848
2849 @DomName('SVGLengthList.clear') 2849 @DomName('SVGLengthList.clear')
2850 @DocsEditable() 2850 @DocsEditable()
2851 void clear() native ; 2851 void clear() native;
2852 2852
2853 @DomName('SVGLengthList.getItem') 2853 @DomName('SVGLengthList.getItem')
2854 @DocsEditable() 2854 @DocsEditable()
2855 Length getItem(int index) native ; 2855 Length getItem(int index) native;
2856 2856
2857 @DomName('SVGLengthList.initialize') 2857 @DomName('SVGLengthList.initialize')
2858 @DocsEditable() 2858 @DocsEditable()
2859 Length initialize(Length newItem) native ; 2859 Length initialize(Length newItem) native;
2860 2860
2861 @DomName('SVGLengthList.insertItemBefore') 2861 @DomName('SVGLengthList.insertItemBefore')
2862 @DocsEditable() 2862 @DocsEditable()
2863 Length insertItemBefore(Length newItem, int index) native ; 2863 Length insertItemBefore(Length newItem, int index) native;
2864 2864
2865 @DomName('SVGLengthList.removeItem') 2865 @DomName('SVGLengthList.removeItem')
2866 @DocsEditable() 2866 @DocsEditable()
2867 Length removeItem(int index) native ; 2867 Length removeItem(int index) native;
2868 2868
2869 @DomName('SVGLengthList.replaceItem') 2869 @DomName('SVGLengthList.replaceItem')
2870 @DocsEditable() 2870 @DocsEditable()
2871 Length replaceItem(Length newItem, int index) native ; 2871 Length replaceItem(Length newItem, int index) native;
2872 } 2872 }
2873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2874 // for details. All rights reserved. Use of this source code is governed by a 2874 // for details. All rights reserved. Use of this source code is governed by a
2875 // BSD-style license that can be found in the LICENSE file. 2875 // BSD-style license that can be found in the LICENSE file.
2876 2876
2877 @DocsEditable() 2877 @DocsEditable()
2878 @DomName('SVGLineElement') 2878 @DomName('SVGLineElement')
2879 @Unstable() 2879 @Unstable()
2880 @Native("SVGLineElement") 2880 @Native("SVGLineElement")
2881 class LineElement extends GeometryElement { 2881 class LineElement extends GeometryElement {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3024 @DomName('SVGMarkerElement.refX') 3024 @DomName('SVGMarkerElement.refX')
3025 @DocsEditable() 3025 @DocsEditable()
3026 final AnimatedLength refX; 3026 final AnimatedLength refX;
3027 3027
3028 @DomName('SVGMarkerElement.refY') 3028 @DomName('SVGMarkerElement.refY')
3029 @DocsEditable() 3029 @DocsEditable()
3030 final AnimatedLength refY; 3030 final AnimatedLength refY;
3031 3031
3032 @DomName('SVGMarkerElement.setOrientToAngle') 3032 @DomName('SVGMarkerElement.setOrientToAngle')
3033 @DocsEditable() 3033 @DocsEditable()
3034 void setOrientToAngle(Angle angle) native ; 3034 void setOrientToAngle(Angle angle) native;
3035 3035
3036 @DomName('SVGMarkerElement.setOrientToAuto') 3036 @DomName('SVGMarkerElement.setOrientToAuto')
3037 @DocsEditable() 3037 @DocsEditable()
3038 void setOrientToAuto() native ; 3038 void setOrientToAuto() native;
3039 3039
3040 // From SVGFitToViewBox 3040 // From SVGFitToViewBox
3041 3041
3042 @DomName('SVGMarkerElement.preserveAspectRatio') 3042 @DomName('SVGMarkerElement.preserveAspectRatio')
3043 @DocsEditable() 3043 @DocsEditable()
3044 final AnimatedPreserveAspectRatio preserveAspectRatio; 3044 final AnimatedPreserveAspectRatio preserveAspectRatio;
3045 3045
3046 @DomName('SVGMarkerElement.viewBox') 3046 @DomName('SVGMarkerElement.viewBox')
3047 @DocsEditable() 3047 @DocsEditable()
3048 final AnimatedRect viewBox; 3048 final AnimatedRect viewBox;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
3105 @DomName('SVGMaskElement.requiredFeatures') 3105 @DomName('SVGMaskElement.requiredFeatures')
3106 @DocsEditable() 3106 @DocsEditable()
3107 final StringList requiredFeatures; 3107 final StringList requiredFeatures;
3108 3108
3109 @DomName('SVGMaskElement.systemLanguage') 3109 @DomName('SVGMaskElement.systemLanguage')
3110 @DocsEditable() 3110 @DocsEditable()
3111 final StringList systemLanguage; 3111 final StringList systemLanguage;
3112 3112
3113 @DomName('SVGMaskElement.hasExtension') 3113 @DomName('SVGMaskElement.hasExtension')
3114 @DocsEditable() 3114 @DocsEditable()
3115 bool hasExtension(String extension) native ; 3115 bool hasExtension(String extension) native;
3116 } 3116 }
3117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3118 // for details. All rights reserved. Use of this source code is governed by a 3118 // for details. All rights reserved. Use of this source code is governed by a
3119 // BSD-style license that can be found in the LICENSE file. 3119 // BSD-style license that can be found in the LICENSE file.
3120 3120
3121 @DocsEditable() 3121 @DocsEditable()
3122 @DomName('SVGMatrix') 3122 @DomName('SVGMatrix')
3123 @Unstable() 3123 @Unstable()
3124 @Native("SVGMatrix") 3124 @Native("SVGMatrix")
3125 class Matrix extends Interceptor { 3125 class Matrix extends Interceptor {
(...skipping 21 matching lines...) Expand all
3147 @DomName('SVGMatrix.e') 3147 @DomName('SVGMatrix.e')
3148 @DocsEditable() 3148 @DocsEditable()
3149 num e; 3149 num e;
3150 3150
3151 @DomName('SVGMatrix.f') 3151 @DomName('SVGMatrix.f')
3152 @DocsEditable() 3152 @DocsEditable()
3153 num f; 3153 num f;
3154 3154
3155 @DomName('SVGMatrix.flipX') 3155 @DomName('SVGMatrix.flipX')
3156 @DocsEditable() 3156 @DocsEditable()
3157 Matrix flipX() native ; 3157 Matrix flipX() native;
3158 3158
3159 @DomName('SVGMatrix.flipY') 3159 @DomName('SVGMatrix.flipY')
3160 @DocsEditable() 3160 @DocsEditable()
3161 Matrix flipY() native ; 3161 Matrix flipY() native;
3162 3162
3163 @DomName('SVGMatrix.inverse') 3163 @DomName('SVGMatrix.inverse')
3164 @DocsEditable() 3164 @DocsEditable()
3165 Matrix inverse() native ; 3165 Matrix inverse() native;
3166 3166
3167 @DomName('SVGMatrix.multiply') 3167 @DomName('SVGMatrix.multiply')
3168 @DocsEditable() 3168 @DocsEditable()
3169 Matrix multiply(Matrix secondMatrix) native ; 3169 Matrix multiply(Matrix secondMatrix) native;
3170 3170
3171 @DomName('SVGMatrix.rotate') 3171 @DomName('SVGMatrix.rotate')
3172 @DocsEditable() 3172 @DocsEditable()
3173 Matrix rotate(num angle) native ; 3173 Matrix rotate(num angle) native;
3174 3174
3175 @DomName('SVGMatrix.rotateFromVector') 3175 @DomName('SVGMatrix.rotateFromVector')
3176 @DocsEditable() 3176 @DocsEditable()
3177 Matrix rotateFromVector(num x, num y) native ; 3177 Matrix rotateFromVector(num x, num y) native;
3178 3178
3179 @DomName('SVGMatrix.scale') 3179 @DomName('SVGMatrix.scale')
3180 @DocsEditable() 3180 @DocsEditable()
3181 Matrix scale(num scaleFactor) native ; 3181 Matrix scale(num scaleFactor) native;
3182 3182
3183 @DomName('SVGMatrix.scaleNonUniform') 3183 @DomName('SVGMatrix.scaleNonUniform')
3184 @DocsEditable() 3184 @DocsEditable()
3185 Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native ; 3185 Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native;
3186 3186
3187 @DomName('SVGMatrix.skewX') 3187 @DomName('SVGMatrix.skewX')
3188 @DocsEditable() 3188 @DocsEditable()
3189 Matrix skewX(num angle) native ; 3189 Matrix skewX(num angle) native;
3190 3190
3191 @DomName('SVGMatrix.skewY') 3191 @DomName('SVGMatrix.skewY')
3192 @DocsEditable() 3192 @DocsEditable()
3193 Matrix skewY(num angle) native ; 3193 Matrix skewY(num angle) native;
3194 3194
3195 @DomName('SVGMatrix.translate') 3195 @DomName('SVGMatrix.translate')
3196 @DocsEditable() 3196 @DocsEditable()
3197 Matrix translate(num x, num y) native ; 3197 Matrix translate(num x, num y) native;
3198 } 3198 }
3199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3199 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3200 // for details. All rights reserved. Use of this source code is governed by a 3200 // for details. All rights reserved. Use of this source code is governed by a
3201 // BSD-style license that can be found in the LICENSE file. 3201 // BSD-style license that can be found in the LICENSE file.
3202 3202
3203 @DocsEditable() 3203 @DocsEditable()
3204 @DomName('SVGMetadataElement') 3204 @DomName('SVGMetadataElement')
3205 @Unstable() 3205 @Unstable()
3206 @Native("SVGMetadataElement") 3206 @Native("SVGMetadataElement")
3207 class MetadataElement extends SvgElement { 3207 class MetadataElement extends SvgElement {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
3298 if (len == 0) throw new StateError("No elements"); 3298 if (len == 0) throw new StateError("No elements");
3299 throw new StateError("More than one element"); 3299 throw new StateError("More than one element");
3300 } 3300 }
3301 3301
3302 Number elementAt(int index) => this[index]; 3302 Number elementAt(int index) => this[index];
3303 // -- end List<Number> mixins. 3303 // -- end List<Number> mixins.
3304 3304
3305 @DomName('SVGNumberList.__setter__') 3305 @DomName('SVGNumberList.__setter__')
3306 @DocsEditable() 3306 @DocsEditable()
3307 @Experimental() // untriaged 3307 @Experimental() // untriaged
3308 void __setter__(int index, Number newItem) native ; 3308 void __setter__(int index, Number newItem) native;
3309 3309
3310 @DomName('SVGNumberList.appendItem') 3310 @DomName('SVGNumberList.appendItem')
3311 @DocsEditable() 3311 @DocsEditable()
3312 Number appendItem(Number newItem) native ; 3312 Number appendItem(Number newItem) native;
3313 3313
3314 @DomName('SVGNumberList.clear') 3314 @DomName('SVGNumberList.clear')
3315 @DocsEditable() 3315 @DocsEditable()
3316 void clear() native ; 3316 void clear() native;
3317 3317
3318 @DomName('SVGNumberList.getItem') 3318 @DomName('SVGNumberList.getItem')
3319 @DocsEditable() 3319 @DocsEditable()
3320 Number getItem(int index) native ; 3320 Number getItem(int index) native;
3321 3321
3322 @DomName('SVGNumberList.initialize') 3322 @DomName('SVGNumberList.initialize')
3323 @DocsEditable() 3323 @DocsEditable()
3324 Number initialize(Number newItem) native ; 3324 Number initialize(Number newItem) native;
3325 3325
3326 @DomName('SVGNumberList.insertItemBefore') 3326 @DomName('SVGNumberList.insertItemBefore')
3327 @DocsEditable() 3327 @DocsEditable()
3328 Number insertItemBefore(Number newItem, int index) native ; 3328 Number insertItemBefore(Number newItem, int index) native;
3329 3329
3330 @DomName('SVGNumberList.removeItem') 3330 @DomName('SVGNumberList.removeItem')
3331 @DocsEditable() 3331 @DocsEditable()
3332 Number removeItem(int index) native ; 3332 Number removeItem(int index) native;
3333 3333
3334 @DomName('SVGNumberList.replaceItem') 3334 @DomName('SVGNumberList.replaceItem')
3335 @DocsEditable() 3335 @DocsEditable()
3336 Number replaceItem(Number newItem, int index) native ; 3336 Number replaceItem(Number newItem, int index) native;
3337 } 3337 }
3338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3338 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3339 // for details. All rights reserved. Use of this source code is governed by a 3339 // for details. All rights reserved. Use of this source code is governed by a
3340 // BSD-style license that can be found in the LICENSE file. 3340 // BSD-style license that can be found in the LICENSE file.
3341 3341
3342 @DocsEditable() 3342 @DocsEditable()
3343 @DomName('SVGPathElement') 3343 @DomName('SVGPathElement')
3344 @Unstable() 3344 @Unstable()
3345 @Native("SVGPathElement") 3345 @Native("SVGPathElement")
3346 class PathElement extends GeometryElement { 3346 class PathElement extends GeometryElement {
(...skipping 30 matching lines...) Expand all
3377 final AnimatedNumber pathLength; 3377 final AnimatedNumber pathLength;
3378 3378
3379 @DomName('SVGPathElement.pathSegList') 3379 @DomName('SVGPathElement.pathSegList')
3380 @DocsEditable() 3380 @DocsEditable()
3381 final PathSegList pathSegList; 3381 final PathSegList pathSegList;
3382 3382
3383 @JSName('createSVGPathSegArcAbs') 3383 @JSName('createSVGPathSegArcAbs')
3384 @DomName('SVGPathElement.createSVGPathSegArcAbs') 3384 @DomName('SVGPathElement.createSVGPathSegArcAbs')
3385 @DocsEditable() 3385 @DocsEditable()
3386 PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, 3386 PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle,
3387 bool largeArcFlag, bool sweepFlag) native ; 3387 bool largeArcFlag, bool sweepFlag) native;
3388 3388
3389 @JSName('createSVGPathSegArcRel') 3389 @JSName('createSVGPathSegArcRel')
3390 @DomName('SVGPathElement.createSVGPathSegArcRel') 3390 @DomName('SVGPathElement.createSVGPathSegArcRel')
3391 @DocsEditable() 3391 @DocsEditable()
3392 PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, 3392 PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle,
3393 bool largeArcFlag, bool sweepFlag) native ; 3393 bool largeArcFlag, bool sweepFlag) native;
3394 3394
3395 @JSName('createSVGPathSegClosePath') 3395 @JSName('createSVGPathSegClosePath')
3396 @DomName('SVGPathElement.createSVGPathSegClosePath') 3396 @DomName('SVGPathElement.createSVGPathSegClosePath')
3397 @DocsEditable() 3397 @DocsEditable()
3398 PathSegClosePath createSvgPathSegClosePath() native ; 3398 PathSegClosePath createSvgPathSegClosePath() native;
3399 3399
3400 @JSName('createSVGPathSegCurvetoCubicAbs') 3400 @JSName('createSVGPathSegCurvetoCubicAbs')
3401 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs') 3401 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs')
3402 @DocsEditable() 3402 @DocsEditable()
3403 PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs( 3403 PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(
3404 num x, num y, num x1, num y1, num x2, num y2) native ; 3404 num x, num y, num x1, num y1, num x2, num y2) native;
3405 3405
3406 @JSName('createSVGPathSegCurvetoCubicRel') 3406 @JSName('createSVGPathSegCurvetoCubicRel')
3407 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel') 3407 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel')
3408 @DocsEditable() 3408 @DocsEditable()
3409 PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel( 3409 PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(
3410 num x, num y, num x1, num y1, num x2, num y2) native ; 3410 num x, num y, num x1, num y1, num x2, num y2) native;
3411 3411
3412 @JSName('createSVGPathSegCurvetoCubicSmoothAbs') 3412 @JSName('createSVGPathSegCurvetoCubicSmoothAbs')
3413 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs') 3413 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs')
3414 @DocsEditable() 3414 @DocsEditable()
3415 PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs( 3415 PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(
3416 num x, num y, num x2, num y2) native ; 3416 num x, num y, num x2, num y2) native;
3417 3417
3418 @JSName('createSVGPathSegCurvetoCubicSmoothRel') 3418 @JSName('createSVGPathSegCurvetoCubicSmoothRel')
3419 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel') 3419 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel')
3420 @DocsEditable() 3420 @DocsEditable()
3421 PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel( 3421 PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(
3422 num x, num y, num x2, num y2) native ; 3422 num x, num y, num x2, num y2) native;
3423 3423
3424 @JSName('createSVGPathSegCurvetoQuadraticAbs') 3424 @JSName('createSVGPathSegCurvetoQuadraticAbs')
3425 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs') 3425 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs')
3426 @DocsEditable() 3426 @DocsEditable()
3427 PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs( 3427 PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(
3428 num x, num y, num x1, num y1) native ; 3428 num x, num y, num x1, num y1) native;
3429 3429
3430 @JSName('createSVGPathSegCurvetoQuadraticRel') 3430 @JSName('createSVGPathSegCurvetoQuadraticRel')
3431 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel') 3431 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel')
3432 @DocsEditable() 3432 @DocsEditable()
3433 PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel( 3433 PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(
3434 num x, num y, num x1, num y1) native ; 3434 num x, num y, num x1, num y1) native;
3435 3435
3436 @JSName('createSVGPathSegCurvetoQuadraticSmoothAbs') 3436 @JSName('createSVGPathSegCurvetoQuadraticSmoothAbs')
3437 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs') 3437 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs')
3438 @DocsEditable() 3438 @DocsEditable()
3439 PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs( 3439 PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(
3440 num x, num y) native ; 3440 num x, num y) native;
3441 3441
3442 @JSName('createSVGPathSegCurvetoQuadraticSmoothRel') 3442 @JSName('createSVGPathSegCurvetoQuadraticSmoothRel')
3443 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel') 3443 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel')
3444 @DocsEditable() 3444 @DocsEditable()
3445 PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel( 3445 PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(
3446 num x, num y) native ; 3446 num x, num y) native;
3447 3447
3448 @JSName('createSVGPathSegLinetoAbs') 3448 @JSName('createSVGPathSegLinetoAbs')
3449 @DomName('SVGPathElement.createSVGPathSegLinetoAbs') 3449 @DomName('SVGPathElement.createSVGPathSegLinetoAbs')
3450 @DocsEditable() 3450 @DocsEditable()
3451 PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native ; 3451 PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native;
3452 3452
3453 @JSName('createSVGPathSegLinetoHorizontalAbs') 3453 @JSName('createSVGPathSegLinetoHorizontalAbs')
3454 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs') 3454 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs')
3455 @DocsEditable() 3455 @DocsEditable()
3456 PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native ; 3456 PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native;
3457 3457
3458 @JSName('createSVGPathSegLinetoHorizontalRel') 3458 @JSName('createSVGPathSegLinetoHorizontalRel')
3459 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel') 3459 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel')
3460 @DocsEditable() 3460 @DocsEditable()
3461 PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native ; 3461 PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native;
3462 3462
3463 @JSName('createSVGPathSegLinetoRel') 3463 @JSName('createSVGPathSegLinetoRel')
3464 @DomName('SVGPathElement.createSVGPathSegLinetoRel') 3464 @DomName('SVGPathElement.createSVGPathSegLinetoRel')
3465 @DocsEditable() 3465 @DocsEditable()
3466 PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native ; 3466 PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native;
3467 3467
3468 @JSName('createSVGPathSegLinetoVerticalAbs') 3468 @JSName('createSVGPathSegLinetoVerticalAbs')
3469 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs') 3469 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs')
3470 @DocsEditable() 3470 @DocsEditable()
3471 PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native ; 3471 PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native;
3472 3472
3473 @JSName('createSVGPathSegLinetoVerticalRel') 3473 @JSName('createSVGPathSegLinetoVerticalRel')
3474 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel') 3474 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel')
3475 @DocsEditable() 3475 @DocsEditable()
3476 PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native ; 3476 PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native;
3477 3477
3478 @JSName('createSVGPathSegMovetoAbs') 3478 @JSName('createSVGPathSegMovetoAbs')
3479 @DomName('SVGPathElement.createSVGPathSegMovetoAbs') 3479 @DomName('SVGPathElement.createSVGPathSegMovetoAbs')
3480 @DocsEditable() 3480 @DocsEditable()
3481 PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native ; 3481 PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native;
3482 3482
3483 @JSName('createSVGPathSegMovetoRel') 3483 @JSName('createSVGPathSegMovetoRel')
3484 @DomName('SVGPathElement.createSVGPathSegMovetoRel') 3484 @DomName('SVGPathElement.createSVGPathSegMovetoRel')
3485 @DocsEditable() 3485 @DocsEditable()
3486 PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native ; 3486 PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native;
3487 3487
3488 @DomName('SVGPathElement.getPathSegAtLength') 3488 @DomName('SVGPathElement.getPathSegAtLength')
3489 @DocsEditable() 3489 @DocsEditable()
3490 int getPathSegAtLength(num distance) native ; 3490 int getPathSegAtLength(num distance) native;
3491 3491
3492 @DomName('SVGPathElement.getPointAtLength') 3492 @DomName('SVGPathElement.getPointAtLength')
3493 @DocsEditable() 3493 @DocsEditable()
3494 Point getPointAtLength(num distance) native ; 3494 Point getPointAtLength(num distance) native;
3495 3495
3496 @DomName('SVGPathElement.getTotalLength') 3496 @DomName('SVGPathElement.getTotalLength')
3497 @DocsEditable() 3497 @DocsEditable()
3498 double getTotalLength() native ; 3498 double getTotalLength() native;
3499 } 3499 }
3500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3501 // for details. All rights reserved. Use of this source code is governed by a 3501 // for details. All rights reserved. Use of this source code is governed by a
3502 // BSD-style license that can be found in the LICENSE file. 3502 // BSD-style license that can be found in the LICENSE file.
3503 3503
3504 @DocsEditable() 3504 @DocsEditable()
3505 @DomName('SVGPathSeg') 3505 @DomName('SVGPathSeg')
3506 @Unstable() 3506 @Unstable()
3507 @Native("SVGPathSeg") 3507 @Native("SVGPathSeg")
3508 class PathSeg extends Interceptor { 3508 class PathSeg extends Interceptor {
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
4117 if (len == 0) throw new StateError("No elements"); 4117 if (len == 0) throw new StateError("No elements");
4118 throw new StateError("More than one element"); 4118 throw new StateError("More than one element");
4119 } 4119 }
4120 4120
4121 PathSeg elementAt(int index) => this[index]; 4121 PathSeg elementAt(int index) => this[index];
4122 // -- end List<PathSeg> mixins. 4122 // -- end List<PathSeg> mixins.
4123 4123
4124 @DomName('SVGPathSegList.__setter__') 4124 @DomName('SVGPathSegList.__setter__')
4125 @DocsEditable() 4125 @DocsEditable()
4126 @Experimental() // untriaged 4126 @Experimental() // untriaged
4127 void __setter__(int index, PathSeg newItem) native ; 4127 void __setter__(int index, PathSeg newItem) native;
4128 4128
4129 @DomName('SVGPathSegList.appendItem') 4129 @DomName('SVGPathSegList.appendItem')
4130 @DocsEditable() 4130 @DocsEditable()
4131 PathSeg appendItem(PathSeg newItem) native ; 4131 PathSeg appendItem(PathSeg newItem) native;
4132 4132
4133 @DomName('SVGPathSegList.clear') 4133 @DomName('SVGPathSegList.clear')
4134 @DocsEditable() 4134 @DocsEditable()
4135 void clear() native ; 4135 void clear() native;
4136 4136
4137 @DomName('SVGPathSegList.getItem') 4137 @DomName('SVGPathSegList.getItem')
4138 @DocsEditable() 4138 @DocsEditable()
4139 PathSeg getItem(int index) native ; 4139 PathSeg getItem(int index) native;
4140 4140
4141 @DomName('SVGPathSegList.initialize') 4141 @DomName('SVGPathSegList.initialize')
4142 @DocsEditable() 4142 @DocsEditable()
4143 PathSeg initialize(PathSeg newItem) native ; 4143 PathSeg initialize(PathSeg newItem) native;
4144 4144
4145 @DomName('SVGPathSegList.insertItemBefore') 4145 @DomName('SVGPathSegList.insertItemBefore')
4146 @DocsEditable() 4146 @DocsEditable()
4147 PathSeg insertItemBefore(PathSeg newItem, int index) native ; 4147 PathSeg insertItemBefore(PathSeg newItem, int index) native;
4148 4148
4149 @DomName('SVGPathSegList.removeItem') 4149 @DomName('SVGPathSegList.removeItem')
4150 @DocsEditable() 4150 @DocsEditable()
4151 PathSeg removeItem(int index) native ; 4151 PathSeg removeItem(int index) native;
4152 4152
4153 @DomName('SVGPathSegList.replaceItem') 4153 @DomName('SVGPathSegList.replaceItem')
4154 @DocsEditable() 4154 @DocsEditable()
4155 PathSeg replaceItem(PathSeg newItem, int index) native ; 4155 PathSeg replaceItem(PathSeg newItem, int index) native;
4156 } 4156 }
4157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4158 // for details. All rights reserved. Use of this source code is governed by a 4158 // for details. All rights reserved. Use of this source code is governed by a
4159 // BSD-style license that can be found in the LICENSE file. 4159 // BSD-style license that can be found in the LICENSE file.
4160 4160
4161 @DocsEditable() 4161 @DocsEditable()
4162 @DomName('SVGPathSegMovetoAbs') 4162 @DomName('SVGPathSegMovetoAbs')
4163 @Unstable() 4163 @Unstable()
4164 @Native("SVGPathSegMovetoAbs") 4164 @Native("SVGPathSegMovetoAbs")
4165 class PathSegMovetoAbs extends PathSeg { 4165 class PathSegMovetoAbs extends PathSeg {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
4271 @DomName('SVGPatternElement.requiredFeatures') 4271 @DomName('SVGPatternElement.requiredFeatures')
4272 @DocsEditable() 4272 @DocsEditable()
4273 final StringList requiredFeatures; 4273 final StringList requiredFeatures;
4274 4274
4275 @DomName('SVGPatternElement.systemLanguage') 4275 @DomName('SVGPatternElement.systemLanguage')
4276 @DocsEditable() 4276 @DocsEditable()
4277 final StringList systemLanguage; 4277 final StringList systemLanguage;
4278 4278
4279 @DomName('SVGPatternElement.hasExtension') 4279 @DomName('SVGPatternElement.hasExtension')
4280 @DocsEditable() 4280 @DocsEditable()
4281 bool hasExtension(String extension) native ; 4281 bool hasExtension(String extension) native;
4282 4282
4283 // From SVGURIReference 4283 // From SVGURIReference
4284 4284
4285 @DomName('SVGPatternElement.href') 4285 @DomName('SVGPatternElement.href')
4286 @DocsEditable() 4286 @DocsEditable()
4287 final AnimatedString href; 4287 final AnimatedString href;
4288 } 4288 }
4289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4290 // for details. All rights reserved. Use of this source code is governed by a 4290 // for details. All rights reserved. Use of this source code is governed by a
4291 // BSD-style license that can be found in the LICENSE file. 4291 // BSD-style license that can be found in the LICENSE file.
(...skipping 11 matching lines...) Expand all
4303 @DomName('SVGPoint.x') 4303 @DomName('SVGPoint.x')
4304 @DocsEditable() 4304 @DocsEditable()
4305 num x; 4305 num x;
4306 4306
4307 @DomName('SVGPoint.y') 4307 @DomName('SVGPoint.y')
4308 @DocsEditable() 4308 @DocsEditable()
4309 num y; 4309 num y;
4310 4310
4311 @DomName('SVGPoint.matrixTransform') 4311 @DomName('SVGPoint.matrixTransform')
4312 @DocsEditable() 4312 @DocsEditable()
4313 Point matrixTransform(Matrix matrix) native ; 4313 Point matrixTransform(Matrix matrix) native;
4314 } 4314 }
4315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4316 // for details. All rights reserved. Use of this source code is governed by a 4316 // for details. All rights reserved. Use of this source code is governed by a
4317 // BSD-style license that can be found in the LICENSE file. 4317 // BSD-style license that can be found in the LICENSE file.
4318 4318
4319 @DocsEditable() 4319 @DocsEditable()
4320 @DomName('SVGPointList') 4320 @DomName('SVGPointList')
4321 @Unstable() 4321 @Unstable()
4322 @Native("SVGPointList") 4322 @Native("SVGPointList")
4323 class PointList extends Interceptor { 4323 class PointList extends Interceptor {
4324 // To suppress missing implicit constructor warnings. 4324 // To suppress missing implicit constructor warnings.
4325 factory PointList._() { 4325 factory PointList._() {
4326 throw new UnsupportedError("Not supported"); 4326 throw new UnsupportedError("Not supported");
4327 } 4327 }
4328 4328
4329 @DomName('SVGPointList.length') 4329 @DomName('SVGPointList.length')
4330 @DocsEditable() 4330 @DocsEditable()
4331 @Experimental() // untriaged 4331 @Experimental() // untriaged
4332 final int length; 4332 final int length;
4333 4333
4334 @DomName('SVGPointList.numberOfItems') 4334 @DomName('SVGPointList.numberOfItems')
4335 @DocsEditable() 4335 @DocsEditable()
4336 final int numberOfItems; 4336 final int numberOfItems;
4337 4337
4338 @DomName('SVGPointList.__setter__') 4338 @DomName('SVGPointList.__setter__')
4339 @DocsEditable() 4339 @DocsEditable()
4340 @Experimental() // untriaged 4340 @Experimental() // untriaged
4341 void __setter__(int index, Point newItem) native ; 4341 void __setter__(int index, Point newItem) native;
4342 4342
4343 @DomName('SVGPointList.appendItem') 4343 @DomName('SVGPointList.appendItem')
4344 @DocsEditable() 4344 @DocsEditable()
4345 Point appendItem(Point newItem) native ; 4345 Point appendItem(Point newItem) native;
4346 4346
4347 @DomName('SVGPointList.clear') 4347 @DomName('SVGPointList.clear')
4348 @DocsEditable() 4348 @DocsEditable()
4349 void clear() native ; 4349 void clear() native;
4350 4350
4351 @DomName('SVGPointList.getItem') 4351 @DomName('SVGPointList.getItem')
4352 @DocsEditable() 4352 @DocsEditable()
4353 Point getItem(int index) native ; 4353 Point getItem(int index) native;
4354 4354
4355 @DomName('SVGPointList.initialize') 4355 @DomName('SVGPointList.initialize')
4356 @DocsEditable() 4356 @DocsEditable()
4357 Point initialize(Point newItem) native ; 4357 Point initialize(Point newItem) native;
4358 4358
4359 @DomName('SVGPointList.insertItemBefore') 4359 @DomName('SVGPointList.insertItemBefore')
4360 @DocsEditable() 4360 @DocsEditable()
4361 Point insertItemBefore(Point newItem, int index) native ; 4361 Point insertItemBefore(Point newItem, int index) native;
4362 4362
4363 @DomName('SVGPointList.removeItem') 4363 @DomName('SVGPointList.removeItem')
4364 @DocsEditable() 4364 @DocsEditable()
4365 Point removeItem(int index) native ; 4365 Point removeItem(int index) native;
4366 4366
4367 @DomName('SVGPointList.replaceItem') 4367 @DomName('SVGPointList.replaceItem')
4368 @DocsEditable() 4368 @DocsEditable()
4369 Point replaceItem(Point newItem, int index) native ; 4369 Point replaceItem(Point newItem, int index) native;
4370 } 4370 }
4371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4372 // for details. All rights reserved. Use of this source code is governed by a 4372 // for details. All rights reserved. Use of this source code is governed by a
4373 // BSD-style license that can be found in the LICENSE file. 4373 // BSD-style license that can be found in the LICENSE file.
4374 4374
4375 @DocsEditable() 4375 @DocsEditable()
4376 @DomName('SVGPolygonElement') 4376 @DomName('SVGPolygonElement')
4377 @Unstable() 4377 @Unstable()
4378 @Native("SVGPolygonElement") 4378 @Native("SVGPolygonElement")
4379 class PolygonElement extends GeometryElement { 4379 class PolygonElement extends GeometryElement {
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
4802 if (len == 0) throw new StateError("No elements"); 4802 if (len == 0) throw new StateError("No elements");
4803 throw new StateError("More than one element"); 4803 throw new StateError("More than one element");
4804 } 4804 }
4805 4805
4806 String elementAt(int index) => this[index]; 4806 String elementAt(int index) => this[index];
4807 // -- end List<String> mixins. 4807 // -- end List<String> mixins.
4808 4808
4809 @DomName('SVGStringList.__setter__') 4809 @DomName('SVGStringList.__setter__')
4810 @DocsEditable() 4810 @DocsEditable()
4811 @Experimental() // untriaged 4811 @Experimental() // untriaged
4812 void __setter__(int index, String newItem) native ; 4812 void __setter__(int index, String newItem) native;
4813 4813
4814 @DomName('SVGStringList.appendItem') 4814 @DomName('SVGStringList.appendItem')
4815 @DocsEditable() 4815 @DocsEditable()
4816 String appendItem(String newItem) native ; 4816 String appendItem(String newItem) native;
4817 4817
4818 @DomName('SVGStringList.clear') 4818 @DomName('SVGStringList.clear')
4819 @DocsEditable() 4819 @DocsEditable()
4820 void clear() native ; 4820 void clear() native;
4821 4821
4822 @DomName('SVGStringList.getItem') 4822 @DomName('SVGStringList.getItem')
4823 @DocsEditable() 4823 @DocsEditable()
4824 String getItem(int index) native ; 4824 String getItem(int index) native;
4825 4825
4826 @DomName('SVGStringList.initialize') 4826 @DomName('SVGStringList.initialize')
4827 @DocsEditable() 4827 @DocsEditable()
4828 String initialize(String newItem) native ; 4828 String initialize(String newItem) native;
4829 4829
4830 @DomName('SVGStringList.insertItemBefore') 4830 @DomName('SVGStringList.insertItemBefore')
4831 @DocsEditable() 4831 @DocsEditable()
4832 String insertItemBefore(String item, int index) native ; 4832 String insertItemBefore(String item, int index) native;
4833 4833
4834 @DomName('SVGStringList.removeItem') 4834 @DomName('SVGStringList.removeItem')
4835 @DocsEditable() 4835 @DocsEditable()
4836 String removeItem(int index) native ; 4836 String removeItem(int index) native;
4837 4837
4838 @DomName('SVGStringList.replaceItem') 4838 @DomName('SVGStringList.replaceItem')
4839 @DocsEditable() 4839 @DocsEditable()
4840 String replaceItem(String newItem, int index) native ; 4840 String replaceItem(String newItem, int index) native;
4841 } 4841 }
4842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4843 // for details. All rights reserved. Use of this source code is governed by a 4843 // for details. All rights reserved. Use of this source code is governed by a
4844 // BSD-style license that can be found in the LICENSE file. 4844 // BSD-style license that can be found in the LICENSE file.
4845 4845
4846 @DocsEditable() 4846 @DocsEditable()
4847 @DomName('SVGStyleElement') 4847 @DomName('SVGStyleElement')
4848 // http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable 4848 // http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable
4849 @Experimental() // nonstandard 4849 @Experimental() // nonstandard
4850 @Native("SVGStyleElement") 4850 @Native("SVGStyleElement")
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
5367 // Use implementation from Element. 5367 // Use implementation from Element.
5368 // final int tabIndex; 5368 // final int tabIndex;
5369 5369
5370 @DomName('SVGElement.viewportElement') 5370 @DomName('SVGElement.viewportElement')
5371 @DocsEditable() 5371 @DocsEditable()
5372 final SvgElement viewportElement; 5372 final SvgElement viewportElement;
5373 5373
5374 @DomName('SVGElement.blur') 5374 @DomName('SVGElement.blur')
5375 @DocsEditable() 5375 @DocsEditable()
5376 @Experimental() // untriaged 5376 @Experimental() // untriaged
5377 void blur() native ; 5377 void blur() native;
5378 5378
5379 @DomName('SVGElement.focus') 5379 @DomName('SVGElement.focus')
5380 @DocsEditable() 5380 @DocsEditable()
5381 @Experimental() // untriaged 5381 @Experimental() // untriaged
5382 void focus() native ; 5382 void focus() native;
5383 5383
5384 @DomName('SVGElement.onabort') 5384 @DomName('SVGElement.onabort')
5385 @DocsEditable() 5385 @DocsEditable()
5386 @Experimental() // untriaged 5386 @Experimental() // untriaged
5387 ElementStream<Event> get onAbort => abortEvent.forElement(this); 5387 ElementStream<Event> get onAbort => abortEvent.forElement(this);
5388 5388
5389 @DomName('SVGElement.onblur') 5389 @DomName('SVGElement.onblur')
5390 @DocsEditable() 5390 @DocsEditable()
5391 @Experimental() // untriaged 5391 @Experimental() // untriaged
5392 ElementStream<Event> get onBlur => blurEvent.forElement(this); 5392 ElementStream<Event> get onBlur => blurEvent.forElement(this);
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
5722 @DomName('SVGSVGElement.x') 5722 @DomName('SVGSVGElement.x')
5723 @DocsEditable() 5723 @DocsEditable()
5724 final AnimatedLength x; 5724 final AnimatedLength x;
5725 5725
5726 @DomName('SVGSVGElement.y') 5726 @DomName('SVGSVGElement.y')
5727 @DocsEditable() 5727 @DocsEditable()
5728 final AnimatedLength y; 5728 final AnimatedLength y;
5729 5729
5730 @DomName('SVGSVGElement.animationsPaused') 5730 @DomName('SVGSVGElement.animationsPaused')
5731 @DocsEditable() 5731 @DocsEditable()
5732 bool animationsPaused() native ; 5732 bool animationsPaused() native;
5733 5733
5734 @DomName('SVGSVGElement.checkEnclosure') 5734 @DomName('SVGSVGElement.checkEnclosure')
5735 @DocsEditable() 5735 @DocsEditable()
5736 bool checkEnclosure(SvgElement element, Rect rect) native ; 5736 bool checkEnclosure(SvgElement element, Rect rect) native;
5737 5737
5738 @DomName('SVGSVGElement.checkIntersection') 5738 @DomName('SVGSVGElement.checkIntersection')
5739 @DocsEditable() 5739 @DocsEditable()
5740 bool checkIntersection(SvgElement element, Rect rect) native ; 5740 bool checkIntersection(SvgElement element, Rect rect) native;
5741 5741
5742 @JSName('createSVGAngle') 5742 @JSName('createSVGAngle')
5743 @DomName('SVGSVGElement.createSVGAngle') 5743 @DomName('SVGSVGElement.createSVGAngle')
5744 @DocsEditable() 5744 @DocsEditable()
5745 Angle createSvgAngle() native ; 5745 Angle createSvgAngle() native;
5746 5746
5747 @JSName('createSVGLength') 5747 @JSName('createSVGLength')
5748 @DomName('SVGSVGElement.createSVGLength') 5748 @DomName('SVGSVGElement.createSVGLength')
5749 @DocsEditable() 5749 @DocsEditable()
5750 Length createSvgLength() native ; 5750 Length createSvgLength() native;
5751 5751
5752 @JSName('createSVGMatrix') 5752 @JSName('createSVGMatrix')
5753 @DomName('SVGSVGElement.createSVGMatrix') 5753 @DomName('SVGSVGElement.createSVGMatrix')
5754 @DocsEditable() 5754 @DocsEditable()
5755 Matrix createSvgMatrix() native ; 5755 Matrix createSvgMatrix() native;
5756 5756
5757 @JSName('createSVGNumber') 5757 @JSName('createSVGNumber')
5758 @DomName('SVGSVGElement.createSVGNumber') 5758 @DomName('SVGSVGElement.createSVGNumber')
5759 @DocsEditable() 5759 @DocsEditable()
5760 Number createSvgNumber() native ; 5760 Number createSvgNumber() native;
5761 5761
5762 @JSName('createSVGPoint') 5762 @JSName('createSVGPoint')
5763 @DomName('SVGSVGElement.createSVGPoint') 5763 @DomName('SVGSVGElement.createSVGPoint')
5764 @DocsEditable() 5764 @DocsEditable()
5765 Point createSvgPoint() native ; 5765 Point createSvgPoint() native;
5766 5766
5767 @JSName('createSVGRect') 5767 @JSName('createSVGRect')
5768 @DomName('SVGSVGElement.createSVGRect') 5768 @DomName('SVGSVGElement.createSVGRect')
5769 @DocsEditable() 5769 @DocsEditable()
5770 Rect createSvgRect() native ; 5770 Rect createSvgRect() native;
5771 5771
5772 @JSName('createSVGTransform') 5772 @JSName('createSVGTransform')
5773 @DomName('SVGSVGElement.createSVGTransform') 5773 @DomName('SVGSVGElement.createSVGTransform')
5774 @DocsEditable() 5774 @DocsEditable()
5775 Transform createSvgTransform() native ; 5775 Transform createSvgTransform() native;
5776 5776
5777 @JSName('createSVGTransformFromMatrix') 5777 @JSName('createSVGTransformFromMatrix')
5778 @DomName('SVGSVGElement.createSVGTransformFromMatrix') 5778 @DomName('SVGSVGElement.createSVGTransformFromMatrix')
5779 @DocsEditable() 5779 @DocsEditable()
5780 Transform createSvgTransformFromMatrix(Matrix matrix) native ; 5780 Transform createSvgTransformFromMatrix(Matrix matrix) native;
5781 5781
5782 @DomName('SVGSVGElement.deselectAll') 5782 @DomName('SVGSVGElement.deselectAll')
5783 @DocsEditable() 5783 @DocsEditable()
5784 void deselectAll() native ; 5784 void deselectAll() native;
5785 5785
5786 @DomName('SVGSVGElement.forceRedraw') 5786 @DomName('SVGSVGElement.forceRedraw')
5787 @DocsEditable() 5787 @DocsEditable()
5788 void forceRedraw() native ; 5788 void forceRedraw() native;
5789 5789
5790 @DomName('SVGSVGElement.getCurrentTime') 5790 @DomName('SVGSVGElement.getCurrentTime')
5791 @DocsEditable() 5791 @DocsEditable()
5792 double getCurrentTime() native ; 5792 double getCurrentTime() native;
5793 5793
5794 @DomName('SVGSVGElement.getElementById') 5794 @DomName('SVGSVGElement.getElementById')
5795 @DocsEditable() 5795 @DocsEditable()
5796 Element getElementById(String elementId) native ; 5796 Element getElementById(String elementId) native;
5797 5797
5798 @DomName('SVGSVGElement.getEnclosureList') 5798 @DomName('SVGSVGElement.getEnclosureList')
5799 @DocsEditable() 5799 @DocsEditable()
5800 @Returns('NodeList') 5800 @Returns('NodeList')
5801 @Creates('NodeList') 5801 @Creates('NodeList')
5802 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native ; 5802 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
5803 5803
5804 @DomName('SVGSVGElement.getIntersectionList') 5804 @DomName('SVGSVGElement.getIntersectionList')
5805 @DocsEditable() 5805 @DocsEditable()
5806 @Returns('NodeList') 5806 @Returns('NodeList')
5807 @Creates('NodeList') 5807 @Creates('NodeList')
5808 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) 5808 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
5809 native ;
5810 5809
5811 @DomName('SVGSVGElement.pauseAnimations') 5810 @DomName('SVGSVGElement.pauseAnimations')
5812 @DocsEditable() 5811 @DocsEditable()
5813 void pauseAnimations() native ; 5812 void pauseAnimations() native;
5814 5813
5815 @DomName('SVGSVGElement.setCurrentTime') 5814 @DomName('SVGSVGElement.setCurrentTime')
5816 @DocsEditable() 5815 @DocsEditable()
5817 void setCurrentTime(num seconds) native ; 5816 void setCurrentTime(num seconds) native;
5818 5817
5819 @DomName('SVGSVGElement.suspendRedraw') 5818 @DomName('SVGSVGElement.suspendRedraw')
5820 @DocsEditable() 5819 @DocsEditable()
5821 int suspendRedraw(int maxWaitMilliseconds) native ; 5820 int suspendRedraw(int maxWaitMilliseconds) native;
5822 5821
5823 @DomName('SVGSVGElement.unpauseAnimations') 5822 @DomName('SVGSVGElement.unpauseAnimations')
5824 @DocsEditable() 5823 @DocsEditable()
5825 void unpauseAnimations() native ; 5824 void unpauseAnimations() native;
5826 5825
5827 @DomName('SVGSVGElement.unsuspendRedraw') 5826 @DomName('SVGSVGElement.unsuspendRedraw')
5828 @DocsEditable() 5827 @DocsEditable()
5829 void unsuspendRedraw(int suspendHandleId) native ; 5828 void unsuspendRedraw(int suspendHandleId) native;
5830 5829
5831 @DomName('SVGSVGElement.unsuspendRedrawAll') 5830 @DomName('SVGSVGElement.unsuspendRedrawAll')
5832 @DocsEditable() 5831 @DocsEditable()
5833 void unsuspendRedrawAll() native ; 5832 void unsuspendRedrawAll() native;
5834 5833
5835 // From SVGFitToViewBox 5834 // From SVGFitToViewBox
5836 5835
5837 @DomName('SVGSVGElement.preserveAspectRatio') 5836 @DomName('SVGSVGElement.preserveAspectRatio')
5838 @DocsEditable() 5837 @DocsEditable()
5839 final AnimatedPreserveAspectRatio preserveAspectRatio; 5838 final AnimatedPreserveAspectRatio preserveAspectRatio;
5840 5839
5841 @DomName('SVGSVGElement.viewBox') 5840 @DomName('SVGSVGElement.viewBox')
5842 @DocsEditable() 5841 @DocsEditable()
5843 final AnimatedRect viewBox; 5842 final AnimatedRect viewBox;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
5989 @DomName('SVGTextContentElement.lengthAdjust') 5988 @DomName('SVGTextContentElement.lengthAdjust')
5990 @DocsEditable() 5989 @DocsEditable()
5991 final AnimatedEnumeration lengthAdjust; 5990 final AnimatedEnumeration lengthAdjust;
5992 5991
5993 @DomName('SVGTextContentElement.textLength') 5992 @DomName('SVGTextContentElement.textLength')
5994 @DocsEditable() 5993 @DocsEditable()
5995 final AnimatedLength textLength; 5994 final AnimatedLength textLength;
5996 5995
5997 @DomName('SVGTextContentElement.getCharNumAtPosition') 5996 @DomName('SVGTextContentElement.getCharNumAtPosition')
5998 @DocsEditable() 5997 @DocsEditable()
5999 int getCharNumAtPosition(Point point) native ; 5998 int getCharNumAtPosition(Point point) native;
6000 5999
6001 @DomName('SVGTextContentElement.getComputedTextLength') 6000 @DomName('SVGTextContentElement.getComputedTextLength')
6002 @DocsEditable() 6001 @DocsEditable()
6003 double getComputedTextLength() native ; 6002 double getComputedTextLength() native;
6004 6003
6005 @DomName('SVGTextContentElement.getEndPositionOfChar') 6004 @DomName('SVGTextContentElement.getEndPositionOfChar')
6006 @DocsEditable() 6005 @DocsEditable()
6007 Point getEndPositionOfChar(int charnum) native ; 6006 Point getEndPositionOfChar(int charnum) native;
6008 6007
6009 @DomName('SVGTextContentElement.getExtentOfChar') 6008 @DomName('SVGTextContentElement.getExtentOfChar')
6010 @DocsEditable() 6009 @DocsEditable()
6011 Rect getExtentOfChar(int charnum) native ; 6010 Rect getExtentOfChar(int charnum) native;
6012 6011
6013 @DomName('SVGTextContentElement.getNumberOfChars') 6012 @DomName('SVGTextContentElement.getNumberOfChars')
6014 @DocsEditable() 6013 @DocsEditable()
6015 int getNumberOfChars() native ; 6014 int getNumberOfChars() native;
6016 6015
6017 @DomName('SVGTextContentElement.getRotationOfChar') 6016 @DomName('SVGTextContentElement.getRotationOfChar')
6018 @DocsEditable() 6017 @DocsEditable()
6019 double getRotationOfChar(int charnum) native ; 6018 double getRotationOfChar(int charnum) native;
6020 6019
6021 @DomName('SVGTextContentElement.getStartPositionOfChar') 6020 @DomName('SVGTextContentElement.getStartPositionOfChar')
6022 @DocsEditable() 6021 @DocsEditable()
6023 Point getStartPositionOfChar(int charnum) native ; 6022 Point getStartPositionOfChar(int charnum) native;
6024 6023
6025 @DomName('SVGTextContentElement.getSubStringLength') 6024 @DomName('SVGTextContentElement.getSubStringLength')
6026 @DocsEditable() 6025 @DocsEditable()
6027 double getSubStringLength(int charnum, int nchars) native ; 6026 double getSubStringLength(int charnum, int nchars) native;
6028 6027
6029 @DomName('SVGTextContentElement.selectSubString') 6028 @DomName('SVGTextContentElement.selectSubString')
6030 @DocsEditable() 6029 @DocsEditable()
6031 void selectSubString(int charnum, int nchars) native ; 6030 void selectSubString(int charnum, int nchars) native;
6032 } 6031 }
6033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6034 // for details. All rights reserved. Use of this source code is governed by a 6033 // for details. All rights reserved. Use of this source code is governed by a
6035 // BSD-style license that can be found in the LICENSE file. 6034 // BSD-style license that can be found in the LICENSE file.
6036 6035
6037 @DocsEditable() 6036 @DocsEditable()
6038 @DomName('SVGTextElement') 6037 @DomName('SVGTextElement')
6039 @Unstable() 6038 @Unstable()
6040 @Native("SVGTextElement") 6039 @Native("SVGTextElement")
6041 class TextElement extends TextPositioningElement { 6040 class TextElement extends TextPositioningElement {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
6231 @DomName('SVGTransform.matrix') 6230 @DomName('SVGTransform.matrix')
6232 @DocsEditable() 6231 @DocsEditable()
6233 final Matrix matrix; 6232 final Matrix matrix;
6234 6233
6235 @DomName('SVGTransform.type') 6234 @DomName('SVGTransform.type')
6236 @DocsEditable() 6235 @DocsEditable()
6237 final int type; 6236 final int type;
6238 6237
6239 @DomName('SVGTransform.setMatrix') 6238 @DomName('SVGTransform.setMatrix')
6240 @DocsEditable() 6239 @DocsEditable()
6241 void setMatrix(Matrix matrix) native ; 6240 void setMatrix(Matrix matrix) native;
6242 6241
6243 @DomName('SVGTransform.setRotate') 6242 @DomName('SVGTransform.setRotate')
6244 @DocsEditable() 6243 @DocsEditable()
6245 void setRotate(num angle, num cx, num cy) native ; 6244 void setRotate(num angle, num cx, num cy) native;
6246 6245
6247 @DomName('SVGTransform.setScale') 6246 @DomName('SVGTransform.setScale')
6248 @DocsEditable() 6247 @DocsEditable()
6249 void setScale(num sx, num sy) native ; 6248 void setScale(num sx, num sy) native;
6250 6249
6251 @DomName('SVGTransform.setSkewX') 6250 @DomName('SVGTransform.setSkewX')
6252 @DocsEditable() 6251 @DocsEditable()
6253 void setSkewX(num angle) native ; 6252 void setSkewX(num angle) native;
6254 6253
6255 @DomName('SVGTransform.setSkewY') 6254 @DomName('SVGTransform.setSkewY')
6256 @DocsEditable() 6255 @DocsEditable()
6257 void setSkewY(num angle) native ; 6256 void setSkewY(num angle) native;
6258 6257
6259 @DomName('SVGTransform.setTranslate') 6258 @DomName('SVGTransform.setTranslate')
6260 @DocsEditable() 6259 @DocsEditable()
6261 void setTranslate(num tx, num ty) native ; 6260 void setTranslate(num tx, num ty) native;
6262 } 6261 }
6263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6264 // for details. All rights reserved. Use of this source code is governed by a 6263 // for details. All rights reserved. Use of this source code is governed by a
6265 // BSD-style license that can be found in the LICENSE file. 6264 // BSD-style license that can be found in the LICENSE file.
6266 6265
6267 @DocsEditable() 6266 @DocsEditable()
6268 @DomName('SVGTransformList') 6267 @DomName('SVGTransformList')
6269 @Unstable() 6268 @Unstable()
6270 @Native("SVGTransformList") 6269 @Native("SVGTransformList")
6271 class TransformList extends Interceptor 6270 class TransformList extends Interceptor
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
6324 if (len == 0) throw new StateError("No elements"); 6323 if (len == 0) throw new StateError("No elements");
6325 throw new StateError("More than one element"); 6324 throw new StateError("More than one element");
6326 } 6325 }
6327 6326
6328 Transform elementAt(int index) => this[index]; 6327 Transform elementAt(int index) => this[index];
6329 // -- end List<Transform> mixins. 6328 // -- end List<Transform> mixins.
6330 6329
6331 @DomName('SVGTransformList.__setter__') 6330 @DomName('SVGTransformList.__setter__')
6332 @DocsEditable() 6331 @DocsEditable()
6333 @Experimental() // untriaged 6332 @Experimental() // untriaged
6334 void __setter__(int index, Transform newItem) native ; 6333 void __setter__(int index, Transform newItem) native;
6335 6334
6336 @DomName('SVGTransformList.appendItem') 6335 @DomName('SVGTransformList.appendItem')
6337 @DocsEditable() 6336 @DocsEditable()
6338 Transform appendItem(Transform newItem) native ; 6337 Transform appendItem(Transform newItem) native;
6339 6338
6340 @DomName('SVGTransformList.clear') 6339 @DomName('SVGTransformList.clear')
6341 @DocsEditable() 6340 @DocsEditable()
6342 void clear() native ; 6341 void clear() native;
6343 6342
6344 @DomName('SVGTransformList.consolidate') 6343 @DomName('SVGTransformList.consolidate')
6345 @DocsEditable() 6344 @DocsEditable()
6346 Transform consolidate() native ; 6345 Transform consolidate() native;
6347 6346
6348 @JSName('createSVGTransformFromMatrix') 6347 @JSName('createSVGTransformFromMatrix')
6349 @DomName('SVGTransformList.createSVGTransformFromMatrix') 6348 @DomName('SVGTransformList.createSVGTransformFromMatrix')
6350 @DocsEditable() 6349 @DocsEditable()
6351 Transform createSvgTransformFromMatrix(Matrix matrix) native ; 6350 Transform createSvgTransformFromMatrix(Matrix matrix) native;
6352 6351
6353 @DomName('SVGTransformList.getItem') 6352 @DomName('SVGTransformList.getItem')
6354 @DocsEditable() 6353 @DocsEditable()
6355 Transform getItem(int index) native ; 6354 Transform getItem(int index) native;
6356 6355
6357 @DomName('SVGTransformList.initialize') 6356 @DomName('SVGTransformList.initialize')
6358 @DocsEditable() 6357 @DocsEditable()
6359 Transform initialize(Transform newItem) native ; 6358 Transform initialize(Transform newItem) native;
6360 6359
6361 @DomName('SVGTransformList.insertItemBefore') 6360 @DomName('SVGTransformList.insertItemBefore')
6362 @DocsEditable() 6361 @DocsEditable()
6363 Transform insertItemBefore(Transform newItem, int index) native ; 6362 Transform insertItemBefore(Transform newItem, int index) native;
6364 6363
6365 @DomName('SVGTransformList.removeItem') 6364 @DomName('SVGTransformList.removeItem')
6366 @DocsEditable() 6365 @DocsEditable()
6367 Transform removeItem(int index) native ; 6366 Transform removeItem(int index) native;
6368 6367
6369 @DomName('SVGTransformList.replaceItem') 6368 @DomName('SVGTransformList.replaceItem')
6370 @DocsEditable() 6369 @DocsEditable()
6371 Transform replaceItem(Transform newItem, int index) native ; 6370 Transform replaceItem(Transform newItem, int index) native;
6372 } 6371 }
6373 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6374 // for details. All rights reserved. Use of this source code is governed by a 6373 // for details. All rights reserved. Use of this source code is governed by a
6375 // BSD-style license that can be found in the LICENSE file. 6374 // BSD-style license that can be found in the LICENSE file.
6376 6375
6377 @DocsEditable() 6376 @DocsEditable()
6378 @DomName('SVGUnitTypes') 6377 @DomName('SVGUnitTypes')
6379 @Unstable() 6378 @Unstable()
6380 @Native("SVGUnitTypes") 6379 @Native("SVGUnitTypes")
6381 class UnitTypes extends Interceptor { 6380 class UnitTypes extends Interceptor {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
6777 /** 6776 /**
6778 * Constructor instantiated by the DOM when a custom element has been created. 6777 * Constructor instantiated by the DOM when a custom element has been created.
6779 * 6778 *
6780 * This can only be called by subclasses from their created constructor. 6779 * This can only be called by subclasses from their created constructor.
6781 */ 6780 */
6782 _SVGMPathElement.created() : super.created(); 6781 _SVGMPathElement.created() : super.created();
6783 6782
6784 // From SVGURIReference 6783 // From SVGURIReference
6785 6784
6786 } 6785 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698