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

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 2822303002: Format all files under the sdk/lib directory. (Closed)
Patch Set: reduced_cl 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
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/web_audio/dart2js/web_audio_dart2js.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
5366 // Use implementation from Element. 5366 // Use implementation from Element.
5367 // final int tabIndex; 5367 // final int tabIndex;
5368 5368
5369 @DomName('SVGElement.viewportElement') 5369 @DomName('SVGElement.viewportElement')
5370 @DocsEditable() 5370 @DocsEditable()
5371 final SvgElement viewportElement; 5371 final SvgElement viewportElement;
5372 5372
5373 @DomName('SVGElement.blur') 5373 @DomName('SVGElement.blur')
5374 @DocsEditable() 5374 @DocsEditable()
5375 @Experimental() // untriaged 5375 @Experimental() // untriaged
5376 void blur() native ; 5376 void blur() native;
5377 5377
5378 @DomName('SVGElement.focus') 5378 @DomName('SVGElement.focus')
5379 @DocsEditable() 5379 @DocsEditable()
5380 @Experimental() // untriaged 5380 @Experimental() // untriaged
5381 void focus() native ; 5381 void focus() native;
5382 5382
5383 @DomName('SVGElement.onabort') 5383 @DomName('SVGElement.onabort')
5384 @DocsEditable() 5384 @DocsEditable()
5385 @Experimental() // untriaged 5385 @Experimental() // untriaged
5386 ElementStream<Event> get onAbort => abortEvent.forElement(this); 5386 ElementStream<Event> get onAbort => abortEvent.forElement(this);
5387 5387
5388 @DomName('SVGElement.onblur') 5388 @DomName('SVGElement.onblur')
5389 @DocsEditable() 5389 @DocsEditable()
5390 @Experimental() // untriaged 5390 @Experimental() // untriaged
5391 ElementStream<Event> get onBlur => blurEvent.forElement(this); 5391 ElementStream<Event> get onBlur => blurEvent.forElement(this);
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
5721 @DomName('SVGSVGElement.x') 5721 @DomName('SVGSVGElement.x')
5722 @DocsEditable() 5722 @DocsEditable()
5723 final AnimatedLength x; 5723 final AnimatedLength x;
5724 5724
5725 @DomName('SVGSVGElement.y') 5725 @DomName('SVGSVGElement.y')
5726 @DocsEditable() 5726 @DocsEditable()
5727 final AnimatedLength y; 5727 final AnimatedLength y;
5728 5728
5729 @DomName('SVGSVGElement.animationsPaused') 5729 @DomName('SVGSVGElement.animationsPaused')
5730 @DocsEditable() 5730 @DocsEditable()
5731 bool animationsPaused() native ; 5731 bool animationsPaused() native;
5732 5732
5733 @DomName('SVGSVGElement.checkEnclosure') 5733 @DomName('SVGSVGElement.checkEnclosure')
5734 @DocsEditable() 5734 @DocsEditable()
5735 bool checkEnclosure(SvgElement element, Rect rect) native ; 5735 bool checkEnclosure(SvgElement element, Rect rect) native;
5736 5736
5737 @DomName('SVGSVGElement.checkIntersection') 5737 @DomName('SVGSVGElement.checkIntersection')
5738 @DocsEditable() 5738 @DocsEditable()
5739 bool checkIntersection(SvgElement element, Rect rect) native ; 5739 bool checkIntersection(SvgElement element, Rect rect) native;
5740 5740
5741 @JSName('createSVGAngle') 5741 @JSName('createSVGAngle')
5742 @DomName('SVGSVGElement.createSVGAngle') 5742 @DomName('SVGSVGElement.createSVGAngle')
5743 @DocsEditable() 5743 @DocsEditable()
5744 Angle createSvgAngle() native ; 5744 Angle createSvgAngle() native;
5745 5745
5746 @JSName('createSVGLength') 5746 @JSName('createSVGLength')
5747 @DomName('SVGSVGElement.createSVGLength') 5747 @DomName('SVGSVGElement.createSVGLength')
5748 @DocsEditable() 5748 @DocsEditable()
5749 Length createSvgLength() native ; 5749 Length createSvgLength() native;
5750 5750
5751 @JSName('createSVGMatrix') 5751 @JSName('createSVGMatrix')
5752 @DomName('SVGSVGElement.createSVGMatrix') 5752 @DomName('SVGSVGElement.createSVGMatrix')
5753 @DocsEditable() 5753 @DocsEditable()
5754 Matrix createSvgMatrix() native ; 5754 Matrix createSvgMatrix() native;
5755 5755
5756 @JSName('createSVGNumber') 5756 @JSName('createSVGNumber')
5757 @DomName('SVGSVGElement.createSVGNumber') 5757 @DomName('SVGSVGElement.createSVGNumber')
5758 @DocsEditable() 5758 @DocsEditable()
5759 Number createSvgNumber() native ; 5759 Number createSvgNumber() native;
5760 5760
5761 @JSName('createSVGPoint') 5761 @JSName('createSVGPoint')
5762 @DomName('SVGSVGElement.createSVGPoint') 5762 @DomName('SVGSVGElement.createSVGPoint')
5763 @DocsEditable() 5763 @DocsEditable()
5764 Point createSvgPoint() native ; 5764 Point createSvgPoint() native;
5765 5765
5766 @JSName('createSVGRect') 5766 @JSName('createSVGRect')
5767 @DomName('SVGSVGElement.createSVGRect') 5767 @DomName('SVGSVGElement.createSVGRect')
5768 @DocsEditable() 5768 @DocsEditable()
5769 Rect createSvgRect() native ; 5769 Rect createSvgRect() native;
5770 5770
5771 @JSName('createSVGTransform') 5771 @JSName('createSVGTransform')
5772 @DomName('SVGSVGElement.createSVGTransform') 5772 @DomName('SVGSVGElement.createSVGTransform')
5773 @DocsEditable() 5773 @DocsEditable()
5774 Transform createSvgTransform() native ; 5774 Transform createSvgTransform() native;
5775 5775
5776 @JSName('createSVGTransformFromMatrix') 5776 @JSName('createSVGTransformFromMatrix')
5777 @DomName('SVGSVGElement.createSVGTransformFromMatrix') 5777 @DomName('SVGSVGElement.createSVGTransformFromMatrix')
5778 @DocsEditable() 5778 @DocsEditable()
5779 Transform createSvgTransformFromMatrix(Matrix matrix) native ; 5779 Transform createSvgTransformFromMatrix(Matrix matrix) native;
5780 5780
5781 @DomName('SVGSVGElement.deselectAll') 5781 @DomName('SVGSVGElement.deselectAll')
5782 @DocsEditable() 5782 @DocsEditable()
5783 void deselectAll() native ; 5783 void deselectAll() native;
5784 5784
5785 @DomName('SVGSVGElement.forceRedraw') 5785 @DomName('SVGSVGElement.forceRedraw')
5786 @DocsEditable() 5786 @DocsEditable()
5787 void forceRedraw() native ; 5787 void forceRedraw() native;
5788 5788
5789 @DomName('SVGSVGElement.getCurrentTime') 5789 @DomName('SVGSVGElement.getCurrentTime')
5790 @DocsEditable() 5790 @DocsEditable()
5791 double getCurrentTime() native ; 5791 double getCurrentTime() native;
5792 5792
5793 @DomName('SVGSVGElement.getElementById') 5793 @DomName('SVGSVGElement.getElementById')
5794 @DocsEditable() 5794 @DocsEditable()
5795 Element getElementById(String elementId) native ; 5795 Element getElementById(String elementId) native;
5796 5796
5797 @DomName('SVGSVGElement.getEnclosureList') 5797 @DomName('SVGSVGElement.getEnclosureList')
5798 @DocsEditable() 5798 @DocsEditable()
5799 @Returns('NodeList') 5799 @Returns('NodeList')
5800 @Creates('NodeList') 5800 @Creates('NodeList')
5801 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native ; 5801 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native;
5802 5802
5803 @DomName('SVGSVGElement.getIntersectionList') 5803 @DomName('SVGSVGElement.getIntersectionList')
5804 @DocsEditable() 5804 @DocsEditable()
5805 @Returns('NodeList') 5805 @Returns('NodeList')
5806 @Creates('NodeList') 5806 @Creates('NodeList')
5807 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) 5807 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native;
5808 native ;
5809 5808
5810 @DomName('SVGSVGElement.pauseAnimations') 5809 @DomName('SVGSVGElement.pauseAnimations')
5811 @DocsEditable() 5810 @DocsEditable()
5812 void pauseAnimations() native ; 5811 void pauseAnimations() native;
5813 5812
5814 @DomName('SVGSVGElement.setCurrentTime') 5813 @DomName('SVGSVGElement.setCurrentTime')
5815 @DocsEditable() 5814 @DocsEditable()
5816 void setCurrentTime(num seconds) native ; 5815 void setCurrentTime(num seconds) native;
5817 5816
5818 @DomName('SVGSVGElement.suspendRedraw') 5817 @DomName('SVGSVGElement.suspendRedraw')
5819 @DocsEditable() 5818 @DocsEditable()
5820 int suspendRedraw(int maxWaitMilliseconds) native ; 5819 int suspendRedraw(int maxWaitMilliseconds) native;
5821 5820
5822 @DomName('SVGSVGElement.unpauseAnimations') 5821 @DomName('SVGSVGElement.unpauseAnimations')
5823 @DocsEditable() 5822 @DocsEditable()
5824 void unpauseAnimations() native ; 5823 void unpauseAnimations() native;
5825 5824
5826 @DomName('SVGSVGElement.unsuspendRedraw') 5825 @DomName('SVGSVGElement.unsuspendRedraw')
5827 @DocsEditable() 5826 @DocsEditable()
5828 void unsuspendRedraw(int suspendHandleId) native ; 5827 void unsuspendRedraw(int suspendHandleId) native;
5829 5828
5830 @DomName('SVGSVGElement.unsuspendRedrawAll') 5829 @DomName('SVGSVGElement.unsuspendRedrawAll')
5831 @DocsEditable() 5830 @DocsEditable()
5832 void unsuspendRedrawAll() native ; 5831 void unsuspendRedrawAll() native;
5833 5832
5834 // From SVGFitToViewBox 5833 // From SVGFitToViewBox
5835 5834
5836 @DomName('SVGSVGElement.preserveAspectRatio') 5835 @DomName('SVGSVGElement.preserveAspectRatio')
5837 @DocsEditable() 5836 @DocsEditable()
5838 final AnimatedPreserveAspectRatio preserveAspectRatio; 5837 final AnimatedPreserveAspectRatio preserveAspectRatio;
5839 5838
5840 @DomName('SVGSVGElement.viewBox') 5839 @DomName('SVGSVGElement.viewBox')
5841 @DocsEditable() 5840 @DocsEditable()
5842 final AnimatedRect viewBox; 5841 final AnimatedRect viewBox;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
5988 @DomName('SVGTextContentElement.lengthAdjust') 5987 @DomName('SVGTextContentElement.lengthAdjust')
5989 @DocsEditable() 5988 @DocsEditable()
5990 final AnimatedEnumeration lengthAdjust; 5989 final AnimatedEnumeration lengthAdjust;
5991 5990
5992 @DomName('SVGTextContentElement.textLength') 5991 @DomName('SVGTextContentElement.textLength')
5993 @DocsEditable() 5992 @DocsEditable()
5994 final AnimatedLength textLength; 5993 final AnimatedLength textLength;
5995 5994
5996 @DomName('SVGTextContentElement.getCharNumAtPosition') 5995 @DomName('SVGTextContentElement.getCharNumAtPosition')
5997 @DocsEditable() 5996 @DocsEditable()
5998 int getCharNumAtPosition(Point point) native ; 5997 int getCharNumAtPosition(Point point) native;
5999 5998
6000 @DomName('SVGTextContentElement.getComputedTextLength') 5999 @DomName('SVGTextContentElement.getComputedTextLength')
6001 @DocsEditable() 6000 @DocsEditable()
6002 double getComputedTextLength() native ; 6001 double getComputedTextLength() native;
6003 6002
6004 @DomName('SVGTextContentElement.getEndPositionOfChar') 6003 @DomName('SVGTextContentElement.getEndPositionOfChar')
6005 @DocsEditable() 6004 @DocsEditable()
6006 Point getEndPositionOfChar(int charnum) native ; 6005 Point getEndPositionOfChar(int charnum) native;
6007 6006
6008 @DomName('SVGTextContentElement.getExtentOfChar') 6007 @DomName('SVGTextContentElement.getExtentOfChar')
6009 @DocsEditable() 6008 @DocsEditable()
6010 Rect getExtentOfChar(int charnum) native ; 6009 Rect getExtentOfChar(int charnum) native;
6011 6010
6012 @DomName('SVGTextContentElement.getNumberOfChars') 6011 @DomName('SVGTextContentElement.getNumberOfChars')
6013 @DocsEditable() 6012 @DocsEditable()
6014 int getNumberOfChars() native ; 6013 int getNumberOfChars() native;
6015 6014
6016 @DomName('SVGTextContentElement.getRotationOfChar') 6015 @DomName('SVGTextContentElement.getRotationOfChar')
6017 @DocsEditable() 6016 @DocsEditable()
6018 double getRotationOfChar(int charnum) native ; 6017 double getRotationOfChar(int charnum) native;
6019 6018
6020 @DomName('SVGTextContentElement.getStartPositionOfChar') 6019 @DomName('SVGTextContentElement.getStartPositionOfChar')
6021 @DocsEditable() 6020 @DocsEditable()
6022 Point getStartPositionOfChar(int charnum) native ; 6021 Point getStartPositionOfChar(int charnum) native;
6023 6022
6024 @DomName('SVGTextContentElement.getSubStringLength') 6023 @DomName('SVGTextContentElement.getSubStringLength')
6025 @DocsEditable() 6024 @DocsEditable()
6026 double getSubStringLength(int charnum, int nchars) native ; 6025 double getSubStringLength(int charnum, int nchars) native;
6027 6026
6028 @DomName('SVGTextContentElement.selectSubString') 6027 @DomName('SVGTextContentElement.selectSubString')
6029 @DocsEditable() 6028 @DocsEditable()
6030 void selectSubString(int charnum, int nchars) native ; 6029 void selectSubString(int charnum, int nchars) native;
6031 } 6030 }
6032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6033 // for details. All rights reserved. Use of this source code is governed by a 6032 // for details. All rights reserved. Use of this source code is governed by a
6034 // BSD-style license that can be found in the LICENSE file. 6033 // BSD-style license that can be found in the LICENSE file.
6035 6034
6036 @DocsEditable() 6035 @DocsEditable()
6037 @DomName('SVGTextElement') 6036 @DomName('SVGTextElement')
6038 @Unstable() 6037 @Unstable()
6039 @Native("SVGTextElement") 6038 @Native("SVGTextElement")
6040 class TextElement extends TextPositioningElement { 6039 class TextElement extends TextPositioningElement {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
6230 @DomName('SVGTransform.matrix') 6229 @DomName('SVGTransform.matrix')
6231 @DocsEditable() 6230 @DocsEditable()
6232 final Matrix matrix; 6231 final Matrix matrix;
6233 6232
6234 @DomName('SVGTransform.type') 6233 @DomName('SVGTransform.type')
6235 @DocsEditable() 6234 @DocsEditable()
6236 final int type; 6235 final int type;
6237 6236
6238 @DomName('SVGTransform.setMatrix') 6237 @DomName('SVGTransform.setMatrix')
6239 @DocsEditable() 6238 @DocsEditable()
6240 void setMatrix(Matrix matrix) native ; 6239 void setMatrix(Matrix matrix) native;
6241 6240
6242 @DomName('SVGTransform.setRotate') 6241 @DomName('SVGTransform.setRotate')
6243 @DocsEditable() 6242 @DocsEditable()
6244 void setRotate(num angle, num cx, num cy) native ; 6243 void setRotate(num angle, num cx, num cy) native;
6245 6244
6246 @DomName('SVGTransform.setScale') 6245 @DomName('SVGTransform.setScale')
6247 @DocsEditable() 6246 @DocsEditable()
6248 void setScale(num sx, num sy) native ; 6247 void setScale(num sx, num sy) native;
6249 6248
6250 @DomName('SVGTransform.setSkewX') 6249 @DomName('SVGTransform.setSkewX')
6251 @DocsEditable() 6250 @DocsEditable()
6252 void setSkewX(num angle) native ; 6251 void setSkewX(num angle) native;
6253 6252
6254 @DomName('SVGTransform.setSkewY') 6253 @DomName('SVGTransform.setSkewY')
6255 @DocsEditable() 6254 @DocsEditable()
6256 void setSkewY(num angle) native ; 6255 void setSkewY(num angle) native;
6257 6256
6258 @DomName('SVGTransform.setTranslate') 6257 @DomName('SVGTransform.setTranslate')
6259 @DocsEditable() 6258 @DocsEditable()
6260 void setTranslate(num tx, num ty) native ; 6259 void setTranslate(num tx, num ty) native;
6261 } 6260 }
6262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6261 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6263 // for details. All rights reserved. Use of this source code is governed by a 6262 // for details. All rights reserved. Use of this source code is governed by a
6264 // BSD-style license that can be found in the LICENSE file. 6263 // BSD-style license that can be found in the LICENSE file.
6265 6264
6266 @DocsEditable() 6265 @DocsEditable()
6267 @DomName('SVGTransformList') 6266 @DomName('SVGTransformList')
6268 @Unstable() 6267 @Unstable()
6269 @Native("SVGTransformList") 6268 @Native("SVGTransformList")
6270 class TransformList extends Interceptor 6269 class TransformList extends Interceptor
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
6323 if (len == 0) throw new StateError("No elements"); 6322 if (len == 0) throw new StateError("No elements");
6324 throw new StateError("More than one element"); 6323 throw new StateError("More than one element");
6325 } 6324 }
6326 6325
6327 Transform elementAt(int index) => this[index]; 6326 Transform elementAt(int index) => this[index];
6328 // -- end List<Transform> mixins. 6327 // -- end List<Transform> mixins.
6329 6328
6330 @DomName('SVGTransformList.__setter__') 6329 @DomName('SVGTransformList.__setter__')
6331 @DocsEditable() 6330 @DocsEditable()
6332 @Experimental() // untriaged 6331 @Experimental() // untriaged
6333 void __setter__(int index, Transform newItem) native ; 6332 void __setter__(int index, Transform newItem) native;
6334 6333
6335 @DomName('SVGTransformList.appendItem') 6334 @DomName('SVGTransformList.appendItem')
6336 @DocsEditable() 6335 @DocsEditable()
6337 Transform appendItem(Transform newItem) native ; 6336 Transform appendItem(Transform newItem) native;
6338 6337
6339 @DomName('SVGTransformList.clear') 6338 @DomName('SVGTransformList.clear')
6340 @DocsEditable() 6339 @DocsEditable()
6341 void clear() native ; 6340 void clear() native;
6342 6341
6343 @DomName('SVGTransformList.consolidate') 6342 @DomName('SVGTransformList.consolidate')
6344 @DocsEditable() 6343 @DocsEditable()
6345 Transform consolidate() native ; 6344 Transform consolidate() native;
6346 6345
6347 @JSName('createSVGTransformFromMatrix') 6346 @JSName('createSVGTransformFromMatrix')
6348 @DomName('SVGTransformList.createSVGTransformFromMatrix') 6347 @DomName('SVGTransformList.createSVGTransformFromMatrix')
6349 @DocsEditable() 6348 @DocsEditable()
6350 Transform createSvgTransformFromMatrix(Matrix matrix) native ; 6349 Transform createSvgTransformFromMatrix(Matrix matrix) native;
6351 6350
6352 @DomName('SVGTransformList.getItem') 6351 @DomName('SVGTransformList.getItem')
6353 @DocsEditable() 6352 @DocsEditable()
6354 Transform getItem(int index) native ; 6353 Transform getItem(int index) native;
6355 6354
6356 @DomName('SVGTransformList.initialize') 6355 @DomName('SVGTransformList.initialize')
6357 @DocsEditable() 6356 @DocsEditable()
6358 Transform initialize(Transform newItem) native ; 6357 Transform initialize(Transform newItem) native;
6359 6358
6360 @DomName('SVGTransformList.insertItemBefore') 6359 @DomName('SVGTransformList.insertItemBefore')
6361 @DocsEditable() 6360 @DocsEditable()
6362 Transform insertItemBefore(Transform newItem, int index) native ; 6361 Transform insertItemBefore(Transform newItem, int index) native;
6363 6362
6364 @DomName('SVGTransformList.removeItem') 6363 @DomName('SVGTransformList.removeItem')
6365 @DocsEditable() 6364 @DocsEditable()
6366 Transform removeItem(int index) native ; 6365 Transform removeItem(int index) native;
6367 6366
6368 @DomName('SVGTransformList.replaceItem') 6367 @DomName('SVGTransformList.replaceItem')
6369 @DocsEditable() 6368 @DocsEditable()
6370 Transform replaceItem(Transform newItem, int index) native ; 6369 Transform replaceItem(Transform newItem, int index) native;
6371 } 6370 }
6372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6373 // for details. All rights reserved. Use of this source code is governed by a 6372 // for details. All rights reserved. Use of this source code is governed by a
6374 // BSD-style license that can be found in the LICENSE file. 6373 // BSD-style license that can be found in the LICENSE file.
6375 6374
6376 @DocsEditable() 6375 @DocsEditable()
6377 @DomName('SVGUnitTypes') 6376 @DomName('SVGUnitTypes')
6378 @Unstable() 6377 @Unstable()
6379 @Native("SVGUnitTypes") 6378 @Native("SVGUnitTypes")
6380 class UnitTypes extends Interceptor { 6379 class UnitTypes extends Interceptor {
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
6776 /** 6775 /**
6777 * Constructor instantiated by the DOM when a custom element has been created. 6776 * Constructor instantiated by the DOM when a custom element has been created.
6778 * 6777 *
6779 * This can only be called by subclasses from their created constructor. 6778 * This can only be called by subclasses from their created constructor.
6780 */ 6779 */
6781 _SVGMPathElement.created() : super.created(); 6780 _SVGMPathElement.created() : super.created();
6782 6781
6783 // From SVGURIReference 6782 // From SVGURIReference
6784 6783
6785 } 6784 }
OLDNEW
« no previous file with comments | « sdk/lib/io/http_parser.dart ('k') | sdk/lib/web_audio/dart2js/web_audio_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698