| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 39 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 40 // for details. All rights reserved. Use of this source code is governed by a | 40 // for details. All rights reserved. Use of this source code is governed by a |
| 41 // BSD-style license that can be found in the LICENSE file. | 41 // BSD-style license that can be found in the LICENSE file. |
| 42 | 42 |
| 43 | 43 |
| 44 @DocsEditable() | 44 @DocsEditable() |
| 45 @DomName('SVGAElement') | 45 @DomName('SVGAElement') |
| 46 @Unstable() | 46 @Unstable() |
| 47 class AElement extends GraphicsElement implements UriReference, ExternalResource
sRequired native "SVGAElement" { | 47 class AElement extends GraphicsElement implements UriReference native "SVGAEleme
nt" { |
| 48 // To suppress missing implicit constructor warnings. | 48 // To suppress missing implicit constructor warnings. |
| 49 factory AElement._() { throw new UnsupportedError("Not supported"); } | 49 factory AElement._() { throw new UnsupportedError("Not supported"); } |
| 50 | 50 |
| 51 @DomName('SVGAElement.SVGAElement') | 51 @DomName('SVGAElement.SVGAElement') |
| 52 @DocsEditable() | 52 @DocsEditable() |
| 53 factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); | 53 factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); |
| 54 /** | 54 /** |
| 55 * Constructor instantiated by the DOM when a custom element has been created. | 55 * Constructor instantiated by the DOM when a custom element has been created. |
| 56 * | 56 * |
| 57 * This can only be called by subclasses from their created constructor. | 57 * This can only be called by subclasses from their created constructor. |
| 58 */ | 58 */ |
| 59 AElement.created() : super.created(); | 59 AElement.created() : super.created(); |
| 60 | 60 |
| 61 @DomName('SVGAElement.target') | 61 @DomName('SVGAElement.target') |
| 62 @DocsEditable() | 62 @DocsEditable() |
| 63 final AnimatedString target; | 63 final AnimatedString target; |
| 64 | 64 |
| 65 // From SVGExternalResourcesRequired | |
| 66 | |
| 67 @DomName('SVGAElement.externalResourcesRequired') | |
| 68 @DocsEditable() | |
| 69 final AnimatedBoolean externalResourcesRequired; | |
| 70 | |
| 71 // From SVGURIReference | 65 // From SVGURIReference |
| 72 | 66 |
| 73 @DomName('SVGAElement.href') | 67 @DomName('SVGAElement.href') |
| 74 @DocsEditable() | 68 @DocsEditable() |
| 75 final AnimatedString href; | 69 final AnimatedString href; |
| 76 } | 70 } |
| 77 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 71 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 78 // for details. All rights reserved. Use of this source code is governed by a | 72 // for details. All rights reserved. Use of this source code is governed by a |
| 79 // BSD-style license that can be found in the LICENSE file. | 73 // BSD-style license that can be found in the LICENSE file. |
| 80 | 74 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 final TransformList baseVal; | 491 final TransformList baseVal; |
| 498 } | 492 } |
| 499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 500 // for details. All rights reserved. Use of this source code is governed by a | 494 // for details. All rights reserved. Use of this source code is governed by a |
| 501 // BSD-style license that can be found in the LICENSE file. | 495 // BSD-style license that can be found in the LICENSE file. |
| 502 | 496 |
| 503 | 497 |
| 504 @DocsEditable() | 498 @DocsEditable() |
| 505 @DomName('SVGAnimationElement') | 499 @DomName('SVGAnimationElement') |
| 506 @Unstable() | 500 @Unstable() |
| 507 class AnimationElement extends SvgElement implements ExternalResourcesRequired,
Tests native "SVGAnimationElement" { | 501 class AnimationElement extends SvgElement implements Tests native "SVGAnimationE
lement" { |
| 508 // To suppress missing implicit constructor warnings. | 502 // To suppress missing implicit constructor warnings. |
| 509 factory AnimationElement._() { throw new UnsupportedError("Not supported"); } | 503 factory AnimationElement._() { throw new UnsupportedError("Not supported"); } |
| 510 | 504 |
| 511 @DomName('SVGAnimationElement.SVGAnimationElement') | 505 @DomName('SVGAnimationElement.SVGAnimationElement') |
| 512 @DocsEditable() | 506 @DocsEditable() |
| 513 factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"animation"); | 507 factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"animation"); |
| 514 /** | 508 /** |
| 515 * Constructor instantiated by the DOM when a custom element has been created. | 509 * Constructor instantiated by the DOM when a custom element has been created. |
| 516 * | 510 * |
| 517 * This can only be called by subclasses from their created constructor. | 511 * This can only be called by subclasses from their created constructor. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 543 double getCurrentTime() native; | 537 double getCurrentTime() native; |
| 544 | 538 |
| 545 @DomName('SVGAnimationElement.getSimpleDuration') | 539 @DomName('SVGAnimationElement.getSimpleDuration') |
| 546 @DocsEditable() | 540 @DocsEditable() |
| 547 double getSimpleDuration() native; | 541 double getSimpleDuration() native; |
| 548 | 542 |
| 549 @DomName('SVGAnimationElement.getStartTime') | 543 @DomName('SVGAnimationElement.getStartTime') |
| 550 @DocsEditable() | 544 @DocsEditable() |
| 551 double getStartTime() native; | 545 double getStartTime() native; |
| 552 | 546 |
| 553 // From SVGExternalResourcesRequired | |
| 554 | |
| 555 @DomName('SVGAnimationElement.externalResourcesRequired') | |
| 556 @DocsEditable() | |
| 557 final AnimatedBoolean externalResourcesRequired; | |
| 558 | |
| 559 // From SVGTests | 547 // From SVGTests |
| 560 | 548 |
| 561 @DomName('SVGAnimationElement.requiredExtensions') | 549 @DomName('SVGAnimationElement.requiredExtensions') |
| 562 @DocsEditable() | 550 @DocsEditable() |
| 563 final StringList requiredExtensions; | 551 final StringList requiredExtensions; |
| 564 | 552 |
| 565 @DomName('SVGAnimationElement.requiredFeatures') | 553 @DomName('SVGAnimationElement.requiredFeatures') |
| 566 @DocsEditable() | 554 @DocsEditable() |
| 567 final StringList requiredFeatures; | 555 final StringList requiredFeatures; |
| 568 | 556 |
| 569 @DomName('SVGAnimationElement.systemLanguage') | 557 @DomName('SVGAnimationElement.systemLanguage') |
| 570 @DocsEditable() | 558 @DocsEditable() |
| 571 final StringList systemLanguage; | 559 final StringList systemLanguage; |
| 572 | 560 |
| 573 @DomName('SVGAnimationElement.hasExtension') | 561 @DomName('SVGAnimationElement.hasExtension') |
| 574 @DocsEditable() | 562 @DocsEditable() |
| 575 bool hasExtension(String extension) native; | 563 bool hasExtension(String extension) native; |
| 576 } | 564 } |
| 577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 578 // for details. All rights reserved. Use of this source code is governed by a | 566 // for details. All rights reserved. Use of this source code is governed by a |
| 579 // BSD-style license that can be found in the LICENSE file. | 567 // BSD-style license that can be found in the LICENSE file. |
| 580 | 568 |
| 581 | 569 |
| 582 @DocsEditable() | 570 @DocsEditable() |
| 583 @DomName('SVGCircleElement') | 571 @DomName('SVGCircleElement') |
| 584 @Unstable() | 572 @Unstable() |
| 585 class CircleElement extends GeometryElement implements ExternalResourcesRequired
native "SVGCircleElement" { | 573 class CircleElement extends GeometryElement native "SVGCircleElement" { |
| 586 // To suppress missing implicit constructor warnings. | 574 // To suppress missing implicit constructor warnings. |
| 587 factory CircleElement._() { throw new UnsupportedError("Not supported"); } | 575 factory CircleElement._() { throw new UnsupportedError("Not supported"); } |
| 588 | 576 |
| 589 @DomName('SVGCircleElement.SVGCircleElement') | 577 @DomName('SVGCircleElement.SVGCircleElement') |
| 590 @DocsEditable() | 578 @DocsEditable() |
| 591 factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("ci
rcle"); | 579 factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("ci
rcle"); |
| 592 /** | 580 /** |
| 593 * Constructor instantiated by the DOM when a custom element has been created. | 581 * Constructor instantiated by the DOM when a custom element has been created. |
| 594 * | 582 * |
| 595 * This can only be called by subclasses from their created constructor. | 583 * This can only be called by subclasses from their created constructor. |
| 596 */ | 584 */ |
| 597 CircleElement.created() : super.created(); | 585 CircleElement.created() : super.created(); |
| 598 | 586 |
| 599 @DomName('SVGCircleElement.cx') | 587 @DomName('SVGCircleElement.cx') |
| 600 @DocsEditable() | 588 @DocsEditable() |
| 601 final AnimatedLength cx; | 589 final AnimatedLength cx; |
| 602 | 590 |
| 603 @DomName('SVGCircleElement.cy') | 591 @DomName('SVGCircleElement.cy') |
| 604 @DocsEditable() | 592 @DocsEditable() |
| 605 final AnimatedLength cy; | 593 final AnimatedLength cy; |
| 606 | 594 |
| 607 @DomName('SVGCircleElement.r') | 595 @DomName('SVGCircleElement.r') |
| 608 @DocsEditable() | 596 @DocsEditable() |
| 609 final AnimatedLength r; | 597 final AnimatedLength r; |
| 610 | |
| 611 // From SVGExternalResourcesRequired | |
| 612 | |
| 613 @DomName('SVGCircleElement.externalResourcesRequired') | |
| 614 @DocsEditable() | |
| 615 final AnimatedBoolean externalResourcesRequired; | |
| 616 } | 598 } |
| 617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 618 // for details. All rights reserved. Use of this source code is governed by a | 600 // for details. All rights reserved. Use of this source code is governed by a |
| 619 // BSD-style license that can be found in the LICENSE file. | 601 // BSD-style license that can be found in the LICENSE file. |
| 620 | 602 |
| 621 | 603 |
| 622 @DocsEditable() | 604 @DocsEditable() |
| 623 @DomName('SVGClipPathElement') | 605 @DomName('SVGClipPathElement') |
| 624 @Unstable() | 606 @Unstable() |
| 625 class ClipPathElement extends GraphicsElement implements ExternalResourcesRequir
ed native "SVGClipPathElement" { | 607 class ClipPathElement extends GraphicsElement native "SVGClipPathElement" { |
| 626 // To suppress missing implicit constructor warnings. | 608 // To suppress missing implicit constructor warnings. |
| 627 factory ClipPathElement._() { throw new UnsupportedError("Not supported"); } | 609 factory ClipPathElement._() { throw new UnsupportedError("Not supported"); } |
| 628 | 610 |
| 629 @DomName('SVGClipPathElement.SVGClipPathElement') | 611 @DomName('SVGClipPathElement.SVGClipPathElement') |
| 630 @DocsEditable() | 612 @DocsEditable() |
| 631 factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("
clipPath"); | 613 factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("
clipPath"); |
| 632 /** | 614 /** |
| 633 * Constructor instantiated by the DOM when a custom element has been created. | 615 * Constructor instantiated by the DOM when a custom element has been created. |
| 634 * | 616 * |
| 635 * This can only be called by subclasses from their created constructor. | 617 * This can only be called by subclasses from their created constructor. |
| 636 */ | 618 */ |
| 637 ClipPathElement.created() : super.created(); | 619 ClipPathElement.created() : super.created(); |
| 638 | 620 |
| 639 @DomName('SVGClipPathElement.clipPathUnits') | 621 @DomName('SVGClipPathElement.clipPathUnits') |
| 640 @DocsEditable() | 622 @DocsEditable() |
| 641 final AnimatedEnumeration clipPathUnits; | 623 final AnimatedEnumeration clipPathUnits; |
| 642 | |
| 643 // From SVGExternalResourcesRequired | |
| 644 | |
| 645 @DomName('SVGClipPathElement.externalResourcesRequired') | |
| 646 @DocsEditable() | |
| 647 final AnimatedBoolean externalResourcesRequired; | |
| 648 } | 624 } |
| 649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 650 // for details. All rights reserved. Use of this source code is governed by a | 626 // for details. All rights reserved. Use of this source code is governed by a |
| 651 // BSD-style license that can be found in the LICENSE file. | 627 // BSD-style license that can be found in the LICENSE file. |
| 652 | 628 |
| 653 | 629 |
| 654 @DocsEditable() | 630 @DocsEditable() |
| 655 @DomName('SVGDefsElement') | 631 @DomName('SVGDefsElement') |
| 656 @Unstable() | 632 @Unstable() |
| 657 class DefsElement extends GraphicsElement implements ExternalResourcesRequired n
ative "SVGDefsElement" { | 633 class DefsElement extends GraphicsElement native "SVGDefsElement" { |
| 658 // To suppress missing implicit constructor warnings. | 634 // To suppress missing implicit constructor warnings. |
| 659 factory DefsElement._() { throw new UnsupportedError("Not supported"); } | 635 factory DefsElement._() { throw new UnsupportedError("Not supported"); } |
| 660 | 636 |
| 661 @DomName('SVGDefsElement.SVGDefsElement') | 637 @DomName('SVGDefsElement.SVGDefsElement') |
| 662 @DocsEditable() | 638 @DocsEditable() |
| 663 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs
"); | 639 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs
"); |
| 664 /** | 640 /** |
| 665 * Constructor instantiated by the DOM when a custom element has been created. | 641 * Constructor instantiated by the DOM when a custom element has been created. |
| 666 * | 642 * |
| 667 * This can only be called by subclasses from their created constructor. | 643 * This can only be called by subclasses from their created constructor. |
| 668 */ | 644 */ |
| 669 DefsElement.created() : super.created(); | 645 DefsElement.created() : super.created(); |
| 670 | |
| 671 // From SVGExternalResourcesRequired | |
| 672 | |
| 673 @DomName('SVGDefsElement.externalResourcesRequired') | |
| 674 @DocsEditable() | |
| 675 final AnimatedBoolean externalResourcesRequired; | |
| 676 } | 646 } |
| 677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 678 // for details. All rights reserved. Use of this source code is governed by a | 648 // for details. All rights reserved. Use of this source code is governed by a |
| 679 // BSD-style license that can be found in the LICENSE file. | 649 // BSD-style license that can be found in the LICENSE file. |
| 680 | 650 |
| 681 | 651 |
| 682 @DocsEditable() | 652 @DocsEditable() |
| 683 @DomName('SVGDescElement') | 653 @DomName('SVGDescElement') |
| 684 @Unstable() | 654 @Unstable() |
| 685 class DescElement extends SvgElement native "SVGDescElement" { | 655 class DescElement extends SvgElement native "SVGDescElement" { |
| 686 // To suppress missing implicit constructor warnings. | 656 // To suppress missing implicit constructor warnings. |
| 687 factory DescElement._() { throw new UnsupportedError("Not supported"); } | 657 factory DescElement._() { throw new UnsupportedError("Not supported"); } |
| 688 | 658 |
| 689 @DomName('SVGDescElement.SVGDescElement') | 659 @DomName('SVGDescElement.SVGDescElement') |
| 690 @DocsEditable() | 660 @DocsEditable() |
| 691 factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc
"); | 661 factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc
"); |
| 692 /** | 662 /** |
| 693 * Constructor instantiated by the DOM when a custom element has been created. | 663 * Constructor instantiated by the DOM when a custom element has been created. |
| 694 * | 664 * |
| 695 * This can only be called by subclasses from their created constructor. | 665 * This can only be called by subclasses from their created constructor. |
| 696 */ | 666 */ |
| 697 DescElement.created() : super.created(); | 667 DescElement.created() : super.created(); |
| 698 } | 668 } |
| 699 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 700 // for details. All rights reserved. Use of this source code is governed by a | 670 // for details. All rights reserved. Use of this source code is governed by a |
| 701 // BSD-style license that can be found in the LICENSE file. | 671 // BSD-style license that can be found in the LICENSE file. |
| 702 | 672 |
| 703 | 673 |
| 704 @DocsEditable() | 674 @DocsEditable() |
| 675 @DomName('SVGDiscardElement') |
| 676 @Experimental() // untriaged |
| 677 class DiscardElement extends SvgElement native "SVGDiscardElement" { |
| 678 // To suppress missing implicit constructor warnings. |
| 679 factory DiscardElement._() { throw new UnsupportedError("Not supported"); } |
| 680 /** |
| 681 * Constructor instantiated by the DOM when a custom element has been created. |
| 682 * |
| 683 * This can only be called by subclasses from their created constructor. |
| 684 */ |
| 685 DiscardElement.created() : super.created(); |
| 686 } |
| 687 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 688 // for details. All rights reserved. Use of this source code is governed by a |
| 689 // BSD-style license that can be found in the LICENSE file. |
| 690 |
| 691 |
| 692 @DocsEditable() |
| 705 @DomName('SVGElementInstance') | 693 @DomName('SVGElementInstance') |
| 706 @Unstable() | 694 @Unstable() |
| 707 class ElementInstance extends EventTarget native "SVGElementInstance" { | 695 class ElementInstance extends EventTarget native "SVGElementInstance" { |
| 708 // To suppress missing implicit constructor warnings. | 696 // To suppress missing implicit constructor warnings. |
| 709 factory ElementInstance._() { throw new UnsupportedError("Not supported"); } | 697 factory ElementInstance._() { throw new UnsupportedError("Not supported"); } |
| 710 | 698 |
| 711 /** | 699 /** |
| 712 * Static factory designed to expose `abort` events to event | 700 * Static factory designed to expose `abort` events to event |
| 713 * handlers that are not necessarily instances of [ElementInstance]. | 701 * handlers that are not necessarily instances of [ElementInstance]. |
| 714 * | 702 * |
| (...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 1369 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 1382 } | 1370 } |
| 1383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1384 // for details. All rights reserved. Use of this source code is governed by a | 1372 // for details. All rights reserved. Use of this source code is governed by a |
| 1385 // BSD-style license that can be found in the LICENSE file. | 1373 // BSD-style license that can be found in the LICENSE file. |
| 1386 | 1374 |
| 1387 | 1375 |
| 1388 @DocsEditable() | 1376 @DocsEditable() |
| 1389 @DomName('SVGEllipseElement') | 1377 @DomName('SVGEllipseElement') |
| 1390 @Unstable() | 1378 @Unstable() |
| 1391 class EllipseElement extends GeometryElement implements ExternalResourcesRequire
d native "SVGEllipseElement" { | 1379 class EllipseElement extends GeometryElement native "SVGEllipseElement" { |
| 1392 // To suppress missing implicit constructor warnings. | 1380 // To suppress missing implicit constructor warnings. |
| 1393 factory EllipseElement._() { throw new UnsupportedError("Not supported"); } | 1381 factory EllipseElement._() { throw new UnsupportedError("Not supported"); } |
| 1394 | 1382 |
| 1395 @DomName('SVGEllipseElement.SVGEllipseElement') | 1383 @DomName('SVGEllipseElement.SVGEllipseElement') |
| 1396 @DocsEditable() | 1384 @DocsEditable() |
| 1397 factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("e
llipse"); | 1385 factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("e
llipse"); |
| 1398 /** | 1386 /** |
| 1399 * Constructor instantiated by the DOM when a custom element has been created. | 1387 * Constructor instantiated by the DOM when a custom element has been created. |
| 1400 * | 1388 * |
| 1401 * This can only be called by subclasses from their created constructor. | 1389 * This can only be called by subclasses from their created constructor. |
| 1402 */ | 1390 */ |
| 1403 EllipseElement.created() : super.created(); | 1391 EllipseElement.created() : super.created(); |
| 1404 | 1392 |
| 1405 @DomName('SVGEllipseElement.cx') | 1393 @DomName('SVGEllipseElement.cx') |
| 1406 @DocsEditable() | 1394 @DocsEditable() |
| 1407 final AnimatedLength cx; | 1395 final AnimatedLength cx; |
| 1408 | 1396 |
| 1409 @DomName('SVGEllipseElement.cy') | 1397 @DomName('SVGEllipseElement.cy') |
| 1410 @DocsEditable() | 1398 @DocsEditable() |
| 1411 final AnimatedLength cy; | 1399 final AnimatedLength cy; |
| 1412 | 1400 |
| 1413 @DomName('SVGEllipseElement.rx') | 1401 @DomName('SVGEllipseElement.rx') |
| 1414 @DocsEditable() | 1402 @DocsEditable() |
| 1415 final AnimatedLength rx; | 1403 final AnimatedLength rx; |
| 1416 | 1404 |
| 1417 @DomName('SVGEllipseElement.ry') | 1405 @DomName('SVGEllipseElement.ry') |
| 1418 @DocsEditable() | 1406 @DocsEditable() |
| 1419 final AnimatedLength ry; | 1407 final AnimatedLength ry; |
| 1420 | |
| 1421 // From SVGExternalResourcesRequired | |
| 1422 | |
| 1423 @DomName('SVGEllipseElement.externalResourcesRequired') | |
| 1424 @DocsEditable() | |
| 1425 final AnimatedBoolean externalResourcesRequired; | |
| 1426 } | 1408 } |
| 1427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1428 // for details. All rights reserved. Use of this source code is governed by a | 1410 // for details. All rights reserved. Use of this source code is governed by a |
| 1429 // BSD-style license that can be found in the LICENSE file. | |
| 1430 | |
| 1431 | |
| 1432 @DocsEditable() | |
| 1433 @DomName('SVGExternalResourcesRequired') | |
| 1434 @Unstable() | |
| 1435 abstract class ExternalResourcesRequired extends Interceptor { | |
| 1436 // To suppress missing implicit constructor warnings. | |
| 1437 factory ExternalResourcesRequired._() { throw new UnsupportedError("Not suppor
ted"); } | |
| 1438 | |
| 1439 /// Checks if this type is supported on the current platform. | |
| 1440 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe
quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem
ent, element); | |
| 1441 | |
| 1442 final AnimatedBoolean externalResourcesRequired; | |
| 1443 } | |
| 1444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1445 // for details. All rights reserved. Use of this source code is governed by a | |
| 1446 // BSD-style license that can be found in the LICENSE file. | 1411 // BSD-style license that can be found in the LICENSE file. |
| 1447 | 1412 |
| 1448 | 1413 |
| 1449 @DocsEditable() | 1414 @DocsEditable() |
| 1450 @DomName('SVGFEBlendElement') | 1415 @DomName('SVGFEBlendElement') |
| 1451 @SupportedBrowser(SupportedBrowser.CHROME) | 1416 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1452 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1417 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 1453 @SupportedBrowser(SupportedBrowser.IE, '10') | 1418 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 1454 @SupportedBrowser(SupportedBrowser.SAFARI) | 1419 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 1455 @Unstable() | 1420 @Unstable() |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2315 // BSD-style license that can be found in the LICENSE file. | 2280 // BSD-style license that can be found in the LICENSE file. |
| 2316 | 2281 |
| 2317 | 2282 |
| 2318 @DocsEditable() | 2283 @DocsEditable() |
| 2319 @DomName('SVGFEImageElement') | 2284 @DomName('SVGFEImageElement') |
| 2320 @SupportedBrowser(SupportedBrowser.CHROME) | 2285 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2321 @SupportedBrowser(SupportedBrowser.FIREFOX) | 2286 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 2322 @SupportedBrowser(SupportedBrowser.IE, '10') | 2287 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 2323 @SupportedBrowser(SupportedBrowser.SAFARI) | 2288 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2324 @Unstable() | 2289 @Unstable() |
| 2325 class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes, UriReference, ExternalResourcesRequired native "SVGFEImageElement" { | 2290 class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes, UriReference native "SVGFEImageElement" { |
| 2326 // To suppress missing implicit constructor warnings. | 2291 // To suppress missing implicit constructor warnings. |
| 2327 factory FEImageElement._() { throw new UnsupportedError("Not supported"); } | 2292 factory FEImageElement._() { throw new UnsupportedError("Not supported"); } |
| 2328 | 2293 |
| 2329 @DomName('SVGFEImageElement.SVGFEImageElement') | 2294 @DomName('SVGFEImageElement.SVGFEImageElement') |
| 2330 @DocsEditable() | 2295 @DocsEditable() |
| 2331 factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("f
eImage"); | 2296 factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("f
eImage"); |
| 2332 /** | 2297 /** |
| 2333 * Constructor instantiated by the DOM when a custom element has been created. | 2298 * Constructor instantiated by the DOM when a custom element has been created. |
| 2334 * | 2299 * |
| 2335 * This can only be called by subclasses from their created constructor. | 2300 * This can only be called by subclasses from their created constructor. |
| 2336 */ | 2301 */ |
| 2337 FEImageElement.created() : super.created(); | 2302 FEImageElement.created() : super.created(); |
| 2338 | 2303 |
| 2339 /// Checks if this type is supported on the current platform. | 2304 /// Checks if this type is supported on the current platform. |
| 2340 static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgE
lement.tag('feImage') is FEImageElement); | 2305 static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgE
lement.tag('feImage') is FEImageElement); |
| 2341 | 2306 |
| 2342 @DomName('SVGFEImageElement.preserveAspectRatio') | 2307 @DomName('SVGFEImageElement.preserveAspectRatio') |
| 2343 @DocsEditable() | 2308 @DocsEditable() |
| 2344 final AnimatedPreserveAspectRatio preserveAspectRatio; | 2309 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 2345 | 2310 |
| 2346 // From SVGExternalResourcesRequired | |
| 2347 | |
| 2348 @DomName('SVGFEImageElement.externalResourcesRequired') | |
| 2349 @DocsEditable() | |
| 2350 final AnimatedBoolean externalResourcesRequired; | |
| 2351 | |
| 2352 // From SVGFilterPrimitiveStandardAttributes | 2311 // From SVGFilterPrimitiveStandardAttributes |
| 2353 | 2312 |
| 2354 @DomName('SVGFEImageElement.height') | 2313 @DomName('SVGFEImageElement.height') |
| 2355 @DocsEditable() | 2314 @DocsEditable() |
| 2356 final AnimatedLength height; | 2315 final AnimatedLength height; |
| 2357 | 2316 |
| 2358 @DomName('SVGFEImageElement.result') | 2317 @DomName('SVGFEImageElement.result') |
| 2359 @DocsEditable() | 2318 @DocsEditable() |
| 2360 final AnimatedString result; | 2319 final AnimatedString result; |
| 2361 | 2320 |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2928 // BSD-style license that can be found in the LICENSE file. | 2887 // BSD-style license that can be found in the LICENSE file. |
| 2929 | 2888 |
| 2930 | 2889 |
| 2931 @DocsEditable() | 2890 @DocsEditable() |
| 2932 @DomName('SVGFilterElement') | 2891 @DomName('SVGFilterElement') |
| 2933 @SupportedBrowser(SupportedBrowser.CHROME) | 2892 @SupportedBrowser(SupportedBrowser.CHROME) |
| 2934 @SupportedBrowser(SupportedBrowser.FIREFOX) | 2893 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 2935 @SupportedBrowser(SupportedBrowser.IE, '10') | 2894 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 2936 @SupportedBrowser(SupportedBrowser.SAFARI) | 2895 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 2937 @Unstable() | 2896 @Unstable() |
| 2938 class FilterElement extends SvgElement implements UriReference, ExternalResource
sRequired native "SVGFilterElement" { | 2897 class FilterElement extends SvgElement implements UriReference native "SVGFilter
Element" { |
| 2939 // To suppress missing implicit constructor warnings. | 2898 // To suppress missing implicit constructor warnings. |
| 2940 factory FilterElement._() { throw new UnsupportedError("Not supported"); } | 2899 factory FilterElement._() { throw new UnsupportedError("Not supported"); } |
| 2941 | 2900 |
| 2942 @DomName('SVGFilterElement.SVGFilterElement') | 2901 @DomName('SVGFilterElement.SVGFilterElement') |
| 2943 @DocsEditable() | 2902 @DocsEditable() |
| 2944 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi
lter"); | 2903 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi
lter"); |
| 2945 /** | 2904 /** |
| 2946 * Constructor instantiated by the DOM when a custom element has been created. | 2905 * Constructor instantiated by the DOM when a custom element has been created. |
| 2947 * | 2906 * |
| 2948 * This can only be called by subclasses from their created constructor. | 2907 * This can only be called by subclasses from their created constructor. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2981 final AnimatedLength x; | 2940 final AnimatedLength x; |
| 2982 | 2941 |
| 2983 @DomName('SVGFilterElement.y') | 2942 @DomName('SVGFilterElement.y') |
| 2984 @DocsEditable() | 2943 @DocsEditable() |
| 2985 final AnimatedLength y; | 2944 final AnimatedLength y; |
| 2986 | 2945 |
| 2987 @DomName('SVGFilterElement.setFilterRes') | 2946 @DomName('SVGFilterElement.setFilterRes') |
| 2988 @DocsEditable() | 2947 @DocsEditable() |
| 2989 void setFilterRes(int filterResX, int filterResY) native; | 2948 void setFilterRes(int filterResX, int filterResY) native; |
| 2990 | 2949 |
| 2991 // From SVGExternalResourcesRequired | |
| 2992 | |
| 2993 @DomName('SVGFilterElement.externalResourcesRequired') | |
| 2994 @DocsEditable() | |
| 2995 final AnimatedBoolean externalResourcesRequired; | |
| 2996 | |
| 2997 // From SVGURIReference | 2950 // From SVGURIReference |
| 2998 | 2951 |
| 2999 @DomName('SVGFilterElement.href') | 2952 @DomName('SVGFilterElement.href') |
| 3000 @DocsEditable() | 2953 @DocsEditable() |
| 3001 final AnimatedString href; | 2954 final AnimatedString href; |
| 3002 } | 2955 } |
| 3003 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3004 // for details. All rights reserved. Use of this source code is governed by a | 2957 // for details. All rights reserved. Use of this source code is governed by a |
| 3005 // BSD-style license that can be found in the LICENSE file. | 2958 // BSD-style license that can be found in the LICENSE file. |
| 3006 | 2959 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3042 // for details. All rights reserved. Use of this source code is governed by a | 2995 // for details. All rights reserved. Use of this source code is governed by a |
| 3043 // BSD-style license that can be found in the LICENSE file. | 2996 // BSD-style license that can be found in the LICENSE file. |
| 3044 | 2997 |
| 3045 | 2998 |
| 3046 @DocsEditable() | 2999 @DocsEditable() |
| 3047 @DomName('SVGForeignObjectElement') | 3000 @DomName('SVGForeignObjectElement') |
| 3048 @SupportedBrowser(SupportedBrowser.CHROME) | 3001 @SupportedBrowser(SupportedBrowser.CHROME) |
| 3049 @SupportedBrowser(SupportedBrowser.FIREFOX) | 3002 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 3050 @SupportedBrowser(SupportedBrowser.SAFARI) | 3003 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 3051 @Unstable() | 3004 @Unstable() |
| 3052 class ForeignObjectElement extends GraphicsElement implements ExternalResourcesR
equired native "SVGForeignObjectElement" { | 3005 class ForeignObjectElement extends GraphicsElement native "SVGForeignObjectEleme
nt" { |
| 3053 // To suppress missing implicit constructor warnings. | 3006 // To suppress missing implicit constructor warnings. |
| 3054 factory ForeignObjectElement._() { throw new UnsupportedError("Not supported")
; } | 3007 factory ForeignObjectElement._() { throw new UnsupportedError("Not supported")
; } |
| 3055 | 3008 |
| 3056 @DomName('SVGForeignObjectElement.SVGForeignObjectElement') | 3009 @DomName('SVGForeignObjectElement.SVGForeignObjectElement') |
| 3057 @DocsEditable() | 3010 @DocsEditable() |
| 3058 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_
tag("foreignObject"); | 3011 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_
tag("foreignObject"); |
| 3059 /** | 3012 /** |
| 3060 * Constructor instantiated by the DOM when a custom element has been created. | 3013 * Constructor instantiated by the DOM when a custom element has been created. |
| 3061 * | 3014 * |
| 3062 * This can only be called by subclasses from their created constructor. | 3015 * This can only be called by subclasses from their created constructor. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 3074 @DocsEditable() | 3027 @DocsEditable() |
| 3075 final AnimatedLength width; | 3028 final AnimatedLength width; |
| 3076 | 3029 |
| 3077 @DomName('SVGForeignObjectElement.x') | 3030 @DomName('SVGForeignObjectElement.x') |
| 3078 @DocsEditable() | 3031 @DocsEditable() |
| 3079 final AnimatedLength x; | 3032 final AnimatedLength x; |
| 3080 | 3033 |
| 3081 @DomName('SVGForeignObjectElement.y') | 3034 @DomName('SVGForeignObjectElement.y') |
| 3082 @DocsEditable() | 3035 @DocsEditable() |
| 3083 final AnimatedLength y; | 3036 final AnimatedLength y; |
| 3084 | |
| 3085 // From SVGExternalResourcesRequired | |
| 3086 | |
| 3087 @DomName('SVGForeignObjectElement.externalResourcesRequired') | |
| 3088 @DocsEditable() | |
| 3089 final AnimatedBoolean externalResourcesRequired; | |
| 3090 } | 3037 } |
| 3091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3092 // for details. All rights reserved. Use of this source code is governed by a | 3039 // for details. All rights reserved. Use of this source code is governed by a |
| 3093 // BSD-style license that can be found in the LICENSE file. | 3040 // BSD-style license that can be found in the LICENSE file. |
| 3094 | 3041 |
| 3095 | 3042 |
| 3096 @DocsEditable() | 3043 @DocsEditable() |
| 3097 @DomName('SVGGElement') | 3044 @DomName('SVGGElement') |
| 3098 @Unstable() | 3045 @Unstable() |
| 3099 class GElement extends GraphicsElement implements ExternalResourcesRequired nati
ve "SVGGElement" { | 3046 class GElement extends GraphicsElement native "SVGGElement" { |
| 3100 // To suppress missing implicit constructor warnings. | 3047 // To suppress missing implicit constructor warnings. |
| 3101 factory GElement._() { throw new UnsupportedError("Not supported"); } | 3048 factory GElement._() { throw new UnsupportedError("Not supported"); } |
| 3102 | 3049 |
| 3103 @DomName('SVGGElement.SVGGElement') | 3050 @DomName('SVGGElement.SVGGElement') |
| 3104 @DocsEditable() | 3051 @DocsEditable() |
| 3105 factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); | 3052 factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); |
| 3106 /** | 3053 /** |
| 3107 * Constructor instantiated by the DOM when a custom element has been created. | 3054 * Constructor instantiated by the DOM when a custom element has been created. |
| 3108 * | 3055 * |
| 3109 * This can only be called by subclasses from their created constructor. | 3056 * This can only be called by subclasses from their created constructor. |
| 3110 */ | 3057 */ |
| 3111 GElement.created() : super.created(); | 3058 GElement.created() : super.created(); |
| 3112 | |
| 3113 // From SVGExternalResourcesRequired | |
| 3114 | |
| 3115 @DomName('SVGGElement.externalResourcesRequired') | |
| 3116 @DocsEditable() | |
| 3117 final AnimatedBoolean externalResourcesRequired; | |
| 3118 } | 3059 } |
| 3119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3120 // for details. All rights reserved. Use of this source code is governed by a | 3061 // for details. All rights reserved. Use of this source code is governed by a |
| 3121 // BSD-style license that can be found in the LICENSE file. | 3062 // BSD-style license that can be found in the LICENSE file. |
| 3122 | 3063 |
| 3123 | 3064 |
| 3124 @DocsEditable() | 3065 @DocsEditable() |
| 3125 @DomName('SVGGeometryElement') | 3066 @DomName('SVGGeometryElement') |
| 3126 @Experimental() // untriaged | 3067 @Experimental() // untriaged |
| 3127 class GeometryElement extends GraphicsElement native "SVGGeometryElement" { | 3068 class GeometryElement extends GraphicsElement native "SVGGeometryElement" { |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3187 @DocsEditable() | 3128 @DocsEditable() |
| 3188 @Experimental() // untriaged | 3129 @Experimental() // untriaged |
| 3189 Matrix getCtm() native; | 3130 Matrix getCtm() native; |
| 3190 | 3131 |
| 3191 @JSName('getScreenCTM') | 3132 @JSName('getScreenCTM') |
| 3192 @DomName('SVGGraphicsElement.getScreenCTM') | 3133 @DomName('SVGGraphicsElement.getScreenCTM') |
| 3193 @DocsEditable() | 3134 @DocsEditable() |
| 3194 @Experimental() // untriaged | 3135 @Experimental() // untriaged |
| 3195 Matrix getScreenCtm() native; | 3136 Matrix getScreenCtm() native; |
| 3196 | 3137 |
| 3197 @DomName('SVGGraphicsElement.getStrokeBBox') | |
| 3198 @DocsEditable() | |
| 3199 @Experimental() // untriaged | |
| 3200 Rect getStrokeBBox() native; | |
| 3201 | |
| 3202 @DomName('SVGGraphicsElement.getTransformToElement') | 3138 @DomName('SVGGraphicsElement.getTransformToElement') |
| 3203 @DocsEditable() | 3139 @DocsEditable() |
| 3204 @Experimental() // untriaged | 3140 @Experimental() // untriaged |
| 3205 Matrix getTransformToElement(SvgElement element) native; | 3141 Matrix getTransformToElement(SvgElement element) native; |
| 3206 | 3142 |
| 3207 // From SVGTests | 3143 // From SVGTests |
| 3208 | 3144 |
| 3209 @DomName('SVGGraphicsElement.requiredExtensions') | 3145 @DomName('SVGGraphicsElement.requiredExtensions') |
| 3210 @DocsEditable() | 3146 @DocsEditable() |
| 3211 @Experimental() // untriaged | 3147 @Experimental() // untriaged |
| (...skipping 15 matching lines...) Expand all Loading... |
| 3227 bool hasExtension(String extension) native; | 3163 bool hasExtension(String extension) native; |
| 3228 } | 3164 } |
| 3229 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3230 // for details. All rights reserved. Use of this source code is governed by a | 3166 // for details. All rights reserved. Use of this source code is governed by a |
| 3231 // BSD-style license that can be found in the LICENSE file. | 3167 // BSD-style license that can be found in the LICENSE file. |
| 3232 | 3168 |
| 3233 | 3169 |
| 3234 @DocsEditable() | 3170 @DocsEditable() |
| 3235 @DomName('SVGImageElement') | 3171 @DomName('SVGImageElement') |
| 3236 @Unstable() | 3172 @Unstable() |
| 3237 class ImageElement extends GraphicsElement implements UriReference, ExternalReso
urcesRequired native "SVGImageElement" { | 3173 class ImageElement extends GraphicsElement implements UriReference native "SVGIm
ageElement" { |
| 3238 // To suppress missing implicit constructor warnings. | 3174 // To suppress missing implicit constructor warnings. |
| 3239 factory ImageElement._() { throw new UnsupportedError("Not supported"); } | 3175 factory ImageElement._() { throw new UnsupportedError("Not supported"); } |
| 3240 | 3176 |
| 3241 @DomName('SVGImageElement.SVGImageElement') | 3177 @DomName('SVGImageElement.SVGImageElement') |
| 3242 @DocsEditable() | 3178 @DocsEditable() |
| 3243 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima
ge"); | 3179 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima
ge"); |
| 3244 /** | 3180 /** |
| 3245 * Constructor instantiated by the DOM when a custom element has been created. | 3181 * Constructor instantiated by the DOM when a custom element has been created. |
| 3246 * | 3182 * |
| 3247 * This can only be called by subclasses from their created constructor. | 3183 * This can only be called by subclasses from their created constructor. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 3261 final AnimatedLength width; | 3197 final AnimatedLength width; |
| 3262 | 3198 |
| 3263 @DomName('SVGImageElement.x') | 3199 @DomName('SVGImageElement.x') |
| 3264 @DocsEditable() | 3200 @DocsEditable() |
| 3265 final AnimatedLength x; | 3201 final AnimatedLength x; |
| 3266 | 3202 |
| 3267 @DomName('SVGImageElement.y') | 3203 @DomName('SVGImageElement.y') |
| 3268 @DocsEditable() | 3204 @DocsEditable() |
| 3269 final AnimatedLength y; | 3205 final AnimatedLength y; |
| 3270 | 3206 |
| 3271 // From SVGExternalResourcesRequired | |
| 3272 | |
| 3273 @DomName('SVGImageElement.externalResourcesRequired') | |
| 3274 @DocsEditable() | |
| 3275 final AnimatedBoolean externalResourcesRequired; | |
| 3276 | |
| 3277 // From SVGURIReference | 3207 // From SVGURIReference |
| 3278 | 3208 |
| 3279 @DomName('SVGImageElement.href') | 3209 @DomName('SVGImageElement.href') |
| 3280 @DocsEditable() | 3210 @DocsEditable() |
| 3281 final AnimatedString href; | 3211 final AnimatedString href; |
| 3282 } | 3212 } |
| 3283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3284 // for details. All rights reserved. Use of this source code is governed by a | 3214 // for details. All rights reserved. Use of this source code is governed by a |
| 3285 // BSD-style license that can be found in the LICENSE file. | 3215 // BSD-style license that can be found in the LICENSE file. |
| 3286 | 3216 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3451 Length replaceItem(Length item, int index) native; | 3381 Length replaceItem(Length item, int index) native; |
| 3452 } | 3382 } |
| 3453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3383 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3454 // for details. All rights reserved. Use of this source code is governed by a | 3384 // for details. All rights reserved. Use of this source code is governed by a |
| 3455 // BSD-style license that can be found in the LICENSE file. | 3385 // BSD-style license that can be found in the LICENSE file. |
| 3456 | 3386 |
| 3457 | 3387 |
| 3458 @DocsEditable() | 3388 @DocsEditable() |
| 3459 @DomName('SVGLineElement') | 3389 @DomName('SVGLineElement') |
| 3460 @Unstable() | 3390 @Unstable() |
| 3461 class LineElement extends GeometryElement implements ExternalResourcesRequired n
ative "SVGLineElement" { | 3391 class LineElement extends GeometryElement native "SVGLineElement" { |
| 3462 // To suppress missing implicit constructor warnings. | 3392 // To suppress missing implicit constructor warnings. |
| 3463 factory LineElement._() { throw new UnsupportedError("Not supported"); } | 3393 factory LineElement._() { throw new UnsupportedError("Not supported"); } |
| 3464 | 3394 |
| 3465 @DomName('SVGLineElement.SVGLineElement') | 3395 @DomName('SVGLineElement.SVGLineElement') |
| 3466 @DocsEditable() | 3396 @DocsEditable() |
| 3467 factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line
"); | 3397 factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line
"); |
| 3468 /** | 3398 /** |
| 3469 * Constructor instantiated by the DOM when a custom element has been created. | 3399 * Constructor instantiated by the DOM when a custom element has been created. |
| 3470 * | 3400 * |
| 3471 * This can only be called by subclasses from their created constructor. | 3401 * This can only be called by subclasses from their created constructor. |
| 3472 */ | 3402 */ |
| 3473 LineElement.created() : super.created(); | 3403 LineElement.created() : super.created(); |
| 3474 | 3404 |
| 3475 @DomName('SVGLineElement.x1') | 3405 @DomName('SVGLineElement.x1') |
| 3476 @DocsEditable() | 3406 @DocsEditable() |
| 3477 final AnimatedLength x1; | 3407 final AnimatedLength x1; |
| 3478 | 3408 |
| 3479 @DomName('SVGLineElement.x2') | 3409 @DomName('SVGLineElement.x2') |
| 3480 @DocsEditable() | 3410 @DocsEditable() |
| 3481 final AnimatedLength x2; | 3411 final AnimatedLength x2; |
| 3482 | 3412 |
| 3483 @DomName('SVGLineElement.y1') | 3413 @DomName('SVGLineElement.y1') |
| 3484 @DocsEditable() | 3414 @DocsEditable() |
| 3485 final AnimatedLength y1; | 3415 final AnimatedLength y1; |
| 3486 | 3416 |
| 3487 @DomName('SVGLineElement.y2') | 3417 @DomName('SVGLineElement.y2') |
| 3488 @DocsEditable() | 3418 @DocsEditable() |
| 3489 final AnimatedLength y2; | 3419 final AnimatedLength y2; |
| 3490 | |
| 3491 // From SVGExternalResourcesRequired | |
| 3492 | |
| 3493 @DomName('SVGLineElement.externalResourcesRequired') | |
| 3494 @DocsEditable() | |
| 3495 final AnimatedBoolean externalResourcesRequired; | |
| 3496 } | 3420 } |
| 3497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3421 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3498 // for details. All rights reserved. Use of this source code is governed by a | 3422 // for details. All rights reserved. Use of this source code is governed by a |
| 3499 // BSD-style license that can be found in the LICENSE file. | 3423 // BSD-style license that can be found in the LICENSE file. |
| 3500 | 3424 |
| 3501 | 3425 |
| 3502 @DocsEditable() | 3426 @DocsEditable() |
| 3503 @DomName('SVGLinearGradientElement') | 3427 @DomName('SVGLinearGradientElement') |
| 3504 @Unstable() | 3428 @Unstable() |
| 3505 class LinearGradientElement extends _GradientElement native "SVGLinearGradientEl
ement" { | 3429 class LinearGradientElement extends _GradientElement native "SVGLinearGradientEl
ement" { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 3533 final AnimatedLength y2; | 3457 final AnimatedLength y2; |
| 3534 } | 3458 } |
| 3535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3536 // for details. All rights reserved. Use of this source code is governed by a | 3460 // for details. All rights reserved. Use of this source code is governed by a |
| 3537 // BSD-style license that can be found in the LICENSE file. | 3461 // BSD-style license that can be found in the LICENSE file. |
| 3538 | 3462 |
| 3539 | 3463 |
| 3540 @DocsEditable() | 3464 @DocsEditable() |
| 3541 @DomName('SVGMarkerElement') | 3465 @DomName('SVGMarkerElement') |
| 3542 @Unstable() | 3466 @Unstable() |
| 3543 class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource
sRequired native "SVGMarkerElement" { | 3467 class MarkerElement extends SvgElement implements FitToViewBox native "SVGMarker
Element" { |
| 3544 // To suppress missing implicit constructor warnings. | 3468 // To suppress missing implicit constructor warnings. |
| 3545 factory MarkerElement._() { throw new UnsupportedError("Not supported"); } | 3469 factory MarkerElement._() { throw new UnsupportedError("Not supported"); } |
| 3546 | 3470 |
| 3547 @DomName('SVGMarkerElement.SVGMarkerElement') | 3471 @DomName('SVGMarkerElement.SVGMarkerElement') |
| 3548 @DocsEditable() | 3472 @DocsEditable() |
| 3549 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma
rker"); | 3473 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma
rker"); |
| 3550 /** | 3474 /** |
| 3551 * Constructor instantiated by the DOM when a custom element has been created. | 3475 * Constructor instantiated by the DOM when a custom element has been created. |
| 3552 * | 3476 * |
| 3553 * This can only be called by subclasses from their created constructor. | 3477 * This can only be called by subclasses from their created constructor. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3607 final AnimatedLength refY; | 3531 final AnimatedLength refY; |
| 3608 | 3532 |
| 3609 @DomName('SVGMarkerElement.setOrientToAngle') | 3533 @DomName('SVGMarkerElement.setOrientToAngle') |
| 3610 @DocsEditable() | 3534 @DocsEditable() |
| 3611 void setOrientToAngle(Angle angle) native; | 3535 void setOrientToAngle(Angle angle) native; |
| 3612 | 3536 |
| 3613 @DomName('SVGMarkerElement.setOrientToAuto') | 3537 @DomName('SVGMarkerElement.setOrientToAuto') |
| 3614 @DocsEditable() | 3538 @DocsEditable() |
| 3615 void setOrientToAuto() native; | 3539 void setOrientToAuto() native; |
| 3616 | 3540 |
| 3617 // From SVGExternalResourcesRequired | |
| 3618 | |
| 3619 @DomName('SVGMarkerElement.externalResourcesRequired') | |
| 3620 @DocsEditable() | |
| 3621 final AnimatedBoolean externalResourcesRequired; | |
| 3622 | |
| 3623 // From SVGFitToViewBox | 3541 // From SVGFitToViewBox |
| 3624 | 3542 |
| 3625 @DomName('SVGMarkerElement.preserveAspectRatio') | 3543 @DomName('SVGMarkerElement.preserveAspectRatio') |
| 3626 @DocsEditable() | 3544 @DocsEditable() |
| 3627 final AnimatedPreserveAspectRatio preserveAspectRatio; | 3545 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 3628 | 3546 |
| 3629 @DomName('SVGMarkerElement.viewBox') | 3547 @DomName('SVGMarkerElement.viewBox') |
| 3630 @DocsEditable() | 3548 @DocsEditable() |
| 3631 final AnimatedRect viewBox; | 3549 final AnimatedRect viewBox; |
| 3632 } | 3550 } |
| 3633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3551 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3634 // for details. All rights reserved. Use of this source code is governed by a | 3552 // for details. All rights reserved. Use of this source code is governed by a |
| 3635 // BSD-style license that can be found in the LICENSE file. | 3553 // BSD-style license that can be found in the LICENSE file. |
| 3636 | 3554 |
| 3637 | 3555 |
| 3638 @DocsEditable() | 3556 @DocsEditable() |
| 3639 @DomName('SVGMaskElement') | 3557 @DomName('SVGMaskElement') |
| 3640 @Unstable() | 3558 @Unstable() |
| 3641 class MaskElement extends SvgElement implements ExternalResourcesRequired, Tests
native "SVGMaskElement" { | 3559 class MaskElement extends SvgElement implements Tests native "SVGMaskElement" { |
| 3642 // To suppress missing implicit constructor warnings. | 3560 // To suppress missing implicit constructor warnings. |
| 3643 factory MaskElement._() { throw new UnsupportedError("Not supported"); } | 3561 factory MaskElement._() { throw new UnsupportedError("Not supported"); } |
| 3644 | 3562 |
| 3645 @DomName('SVGMaskElement.SVGMaskElement') | 3563 @DomName('SVGMaskElement.SVGMaskElement') |
| 3646 @DocsEditable() | 3564 @DocsEditable() |
| 3647 factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask
"); | 3565 factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask
"); |
| 3648 /** | 3566 /** |
| 3649 * Constructor instantiated by the DOM when a custom element has been created. | 3567 * Constructor instantiated by the DOM when a custom element has been created. |
| 3650 * | 3568 * |
| 3651 * This can only be called by subclasses from their created constructor. | 3569 * This can only be called by subclasses from their created constructor. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 3669 final AnimatedLength width; | 3587 final AnimatedLength width; |
| 3670 | 3588 |
| 3671 @DomName('SVGMaskElement.x') | 3589 @DomName('SVGMaskElement.x') |
| 3672 @DocsEditable() | 3590 @DocsEditable() |
| 3673 final AnimatedLength x; | 3591 final AnimatedLength x; |
| 3674 | 3592 |
| 3675 @DomName('SVGMaskElement.y') | 3593 @DomName('SVGMaskElement.y') |
| 3676 @DocsEditable() | 3594 @DocsEditable() |
| 3677 final AnimatedLength y; | 3595 final AnimatedLength y; |
| 3678 | 3596 |
| 3679 // From SVGExternalResourcesRequired | |
| 3680 | |
| 3681 @DomName('SVGMaskElement.externalResourcesRequired') | |
| 3682 @DocsEditable() | |
| 3683 final AnimatedBoolean externalResourcesRequired; | |
| 3684 | |
| 3685 // From SVGTests | 3597 // From SVGTests |
| 3686 | 3598 |
| 3687 @DomName('SVGMaskElement.requiredExtensions') | 3599 @DomName('SVGMaskElement.requiredExtensions') |
| 3688 @DocsEditable() | 3600 @DocsEditable() |
| 3689 final StringList requiredExtensions; | 3601 final StringList requiredExtensions; |
| 3690 | 3602 |
| 3691 @DomName('SVGMaskElement.requiredFeatures') | 3603 @DomName('SVGMaskElement.requiredFeatures') |
| 3692 @DocsEditable() | 3604 @DocsEditable() |
| 3693 final StringList requiredFeatures; | 3605 final StringList requiredFeatures; |
| 3694 | 3606 |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3905 Number replaceItem(Number item, int index) native; | 3817 Number replaceItem(Number item, int index) native; |
| 3906 } | 3818 } |
| 3907 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3908 // for details. All rights reserved. Use of this source code is governed by a | 3820 // for details. All rights reserved. Use of this source code is governed by a |
| 3909 // BSD-style license that can be found in the LICENSE file. | 3821 // BSD-style license that can be found in the LICENSE file. |
| 3910 | 3822 |
| 3911 | 3823 |
| 3912 @DocsEditable() | 3824 @DocsEditable() |
| 3913 @DomName('SVGPathElement') | 3825 @DomName('SVGPathElement') |
| 3914 @Unstable() | 3826 @Unstable() |
| 3915 class PathElement extends GeometryElement implements ExternalResourcesRequired n
ative "SVGPathElement" { | 3827 class PathElement extends GeometryElement native "SVGPathElement" { |
| 3916 // To suppress missing implicit constructor warnings. | 3828 // To suppress missing implicit constructor warnings. |
| 3917 factory PathElement._() { throw new UnsupportedError("Not supported"); } | 3829 factory PathElement._() { throw new UnsupportedError("Not supported"); } |
| 3918 | 3830 |
| 3919 @DomName('SVGPathElement.SVGPathElement') | 3831 @DomName('SVGPathElement.SVGPathElement') |
| 3920 @DocsEditable() | 3832 @DocsEditable() |
| 3921 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path
"); | 3833 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path
"); |
| 3922 /** | 3834 /** |
| 3923 * Constructor instantiated by the DOM when a custom element has been created. | 3835 * Constructor instantiated by the DOM when a custom element has been created. |
| 3924 * | 3836 * |
| 3925 * This can only be called by subclasses from their created constructor. | 3837 * This can only be called by subclasses from their created constructor. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4045 @DocsEditable() | 3957 @DocsEditable() |
| 4046 int getPathSegAtLength(num distance) native; | 3958 int getPathSegAtLength(num distance) native; |
| 4047 | 3959 |
| 4048 @DomName('SVGPathElement.getPointAtLength') | 3960 @DomName('SVGPathElement.getPointAtLength') |
| 4049 @DocsEditable() | 3961 @DocsEditable() |
| 4050 Point getPointAtLength(num distance) native; | 3962 Point getPointAtLength(num distance) native; |
| 4051 | 3963 |
| 4052 @DomName('SVGPathElement.getTotalLength') | 3964 @DomName('SVGPathElement.getTotalLength') |
| 4053 @DocsEditable() | 3965 @DocsEditable() |
| 4054 double getTotalLength() native; | 3966 double getTotalLength() native; |
| 4055 | |
| 4056 // From SVGExternalResourcesRequired | |
| 4057 | |
| 4058 @DomName('SVGPathElement.externalResourcesRequired') | |
| 4059 @DocsEditable() | |
| 4060 final AnimatedBoolean externalResourcesRequired; | |
| 4061 } | 3967 } |
| 4062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4063 // for details. All rights reserved. Use of this source code is governed by a | 3969 // for details. All rights reserved. Use of this source code is governed by a |
| 4064 // BSD-style license that can be found in the LICENSE file. | 3970 // BSD-style license that can be found in the LICENSE file. |
| 4065 | 3971 |
| 4066 | 3972 |
| 4067 @DocsEditable() | 3973 @DocsEditable() |
| 4068 @DomName('SVGPathSeg') | 3974 @DomName('SVGPathSeg') |
| 4069 @Unstable() | 3975 @Unstable() |
| 4070 class PathSeg extends Interceptor native "SVGPathSeg" { | 3976 class PathSeg extends Interceptor native "SVGPathSeg" { |
| (...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4710 num y; | 4616 num y; |
| 4711 } | 4617 } |
| 4712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4713 // for details. All rights reserved. Use of this source code is governed by a | 4619 // for details. All rights reserved. Use of this source code is governed by a |
| 4714 // BSD-style license that can be found in the LICENSE file. | 4620 // BSD-style license that can be found in the LICENSE file. |
| 4715 | 4621 |
| 4716 | 4622 |
| 4717 @DocsEditable() | 4623 @DocsEditable() |
| 4718 @DomName('SVGPatternElement') | 4624 @DomName('SVGPatternElement') |
| 4719 @Unstable() | 4625 @Unstable() |
| 4720 class PatternElement extends SvgElement implements FitToViewBox, UriReference, E
xternalResourcesRequired, Tests native "SVGPatternElement" { | 4626 class PatternElement extends SvgElement implements FitToViewBox, UriReference, T
ests native "SVGPatternElement" { |
| 4721 // To suppress missing implicit constructor warnings. | 4627 // To suppress missing implicit constructor warnings. |
| 4722 factory PatternElement._() { throw new UnsupportedError("Not supported"); } | 4628 factory PatternElement._() { throw new UnsupportedError("Not supported"); } |
| 4723 | 4629 |
| 4724 @DomName('SVGPatternElement.SVGPatternElement') | 4630 @DomName('SVGPatternElement.SVGPatternElement') |
| 4725 @DocsEditable() | 4631 @DocsEditable() |
| 4726 factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
attern"); | 4632 factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
attern"); |
| 4727 /** | 4633 /** |
| 4728 * Constructor instantiated by the DOM when a custom element has been created. | 4634 * Constructor instantiated by the DOM when a custom element has been created. |
| 4729 * | 4635 * |
| 4730 * This can only be called by subclasses from their created constructor. | 4636 * This can only be called by subclasses from their created constructor. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 4752 final AnimatedLength width; | 4658 final AnimatedLength width; |
| 4753 | 4659 |
| 4754 @DomName('SVGPatternElement.x') | 4660 @DomName('SVGPatternElement.x') |
| 4755 @DocsEditable() | 4661 @DocsEditable() |
| 4756 final AnimatedLength x; | 4662 final AnimatedLength x; |
| 4757 | 4663 |
| 4758 @DomName('SVGPatternElement.y') | 4664 @DomName('SVGPatternElement.y') |
| 4759 @DocsEditable() | 4665 @DocsEditable() |
| 4760 final AnimatedLength y; | 4666 final AnimatedLength y; |
| 4761 | 4667 |
| 4762 // From SVGExternalResourcesRequired | |
| 4763 | |
| 4764 @DomName('SVGPatternElement.externalResourcesRequired') | |
| 4765 @DocsEditable() | |
| 4766 final AnimatedBoolean externalResourcesRequired; | |
| 4767 | |
| 4768 // From SVGFitToViewBox | 4668 // From SVGFitToViewBox |
| 4769 | 4669 |
| 4770 @DomName('SVGPatternElement.preserveAspectRatio') | 4670 @DomName('SVGPatternElement.preserveAspectRatio') |
| 4771 @DocsEditable() | 4671 @DocsEditable() |
| 4772 final AnimatedPreserveAspectRatio preserveAspectRatio; | 4672 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 4773 | 4673 |
| 4774 @DomName('SVGPatternElement.viewBox') | 4674 @DomName('SVGPatternElement.viewBox') |
| 4775 @DocsEditable() | 4675 @DocsEditable() |
| 4776 final AnimatedRect viewBox; | 4676 final AnimatedRect viewBox; |
| 4777 | 4677 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4868 Point replaceItem(Point item, int index) native; | 4768 Point replaceItem(Point item, int index) native; |
| 4869 } | 4769 } |
| 4870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4871 // for details. All rights reserved. Use of this source code is governed by a | 4771 // for details. All rights reserved. Use of this source code is governed by a |
| 4872 // BSD-style license that can be found in the LICENSE file. | 4772 // BSD-style license that can be found in the LICENSE file. |
| 4873 | 4773 |
| 4874 | 4774 |
| 4875 @DocsEditable() | 4775 @DocsEditable() |
| 4876 @DomName('SVGPolygonElement') | 4776 @DomName('SVGPolygonElement') |
| 4877 @Unstable() | 4777 @Unstable() |
| 4878 class PolygonElement extends GeometryElement implements ExternalResourcesRequire
d native "SVGPolygonElement" { | 4778 class PolygonElement extends GeometryElement native "SVGPolygonElement" { |
| 4879 // To suppress missing implicit constructor warnings. | 4779 // To suppress missing implicit constructor warnings. |
| 4880 factory PolygonElement._() { throw new UnsupportedError("Not supported"); } | 4780 factory PolygonElement._() { throw new UnsupportedError("Not supported"); } |
| 4881 | 4781 |
| 4882 @DomName('SVGPolygonElement.SVGPolygonElement') | 4782 @DomName('SVGPolygonElement.SVGPolygonElement') |
| 4883 @DocsEditable() | 4783 @DocsEditable() |
| 4884 factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
olygon"); | 4784 factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
olygon"); |
| 4885 /** | 4785 /** |
| 4886 * Constructor instantiated by the DOM when a custom element has been created. | 4786 * Constructor instantiated by the DOM when a custom element has been created. |
| 4887 * | 4787 * |
| 4888 * This can only be called by subclasses from their created constructor. | 4788 * This can only be called by subclasses from their created constructor. |
| 4889 */ | 4789 */ |
| 4890 PolygonElement.created() : super.created(); | 4790 PolygonElement.created() : super.created(); |
| 4891 | 4791 |
| 4892 @DomName('SVGPolygonElement.animatedPoints') | 4792 @DomName('SVGPolygonElement.animatedPoints') |
| 4893 @DocsEditable() | 4793 @DocsEditable() |
| 4894 final PointList animatedPoints; | 4794 final PointList animatedPoints; |
| 4895 | 4795 |
| 4896 @DomName('SVGPolygonElement.points') | 4796 @DomName('SVGPolygonElement.points') |
| 4897 @DocsEditable() | 4797 @DocsEditable() |
| 4898 final PointList points; | 4798 final PointList points; |
| 4899 | |
| 4900 // From SVGExternalResourcesRequired | |
| 4901 | |
| 4902 @DomName('SVGPolygonElement.externalResourcesRequired') | |
| 4903 @DocsEditable() | |
| 4904 final AnimatedBoolean externalResourcesRequired; | |
| 4905 } | 4799 } |
| 4906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4907 // for details. All rights reserved. Use of this source code is governed by a | 4801 // for details. All rights reserved. Use of this source code is governed by a |
| 4908 // BSD-style license that can be found in the LICENSE file. | 4802 // BSD-style license that can be found in the LICENSE file. |
| 4909 | 4803 |
| 4910 | 4804 |
| 4911 @DocsEditable() | 4805 @DocsEditable() |
| 4912 @DomName('SVGPolylineElement') | 4806 @DomName('SVGPolylineElement') |
| 4913 @Unstable() | 4807 @Unstable() |
| 4914 class PolylineElement extends GeometryElement implements ExternalResourcesRequir
ed native "SVGPolylineElement" { | 4808 class PolylineElement extends GeometryElement native "SVGPolylineElement" { |
| 4915 // To suppress missing implicit constructor warnings. | 4809 // To suppress missing implicit constructor warnings. |
| 4916 factory PolylineElement._() { throw new UnsupportedError("Not supported"); } | 4810 factory PolylineElement._() { throw new UnsupportedError("Not supported"); } |
| 4917 | 4811 |
| 4918 @DomName('SVGPolylineElement.SVGPolylineElement') | 4812 @DomName('SVGPolylineElement.SVGPolylineElement') |
| 4919 @DocsEditable() | 4813 @DocsEditable() |
| 4920 factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("
polyline"); | 4814 factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("
polyline"); |
| 4921 /** | 4815 /** |
| 4922 * Constructor instantiated by the DOM when a custom element has been created. | 4816 * Constructor instantiated by the DOM when a custom element has been created. |
| 4923 * | 4817 * |
| 4924 * This can only be called by subclasses from their created constructor. | 4818 * This can only be called by subclasses from their created constructor. |
| 4925 */ | 4819 */ |
| 4926 PolylineElement.created() : super.created(); | 4820 PolylineElement.created() : super.created(); |
| 4927 | 4821 |
| 4928 @DomName('SVGPolylineElement.animatedPoints') | 4822 @DomName('SVGPolylineElement.animatedPoints') |
| 4929 @DocsEditable() | 4823 @DocsEditable() |
| 4930 final PointList animatedPoints; | 4824 final PointList animatedPoints; |
| 4931 | 4825 |
| 4932 @DomName('SVGPolylineElement.points') | 4826 @DomName('SVGPolylineElement.points') |
| 4933 @DocsEditable() | 4827 @DocsEditable() |
| 4934 final PointList points; | 4828 final PointList points; |
| 4935 | |
| 4936 // From SVGExternalResourcesRequired | |
| 4937 | |
| 4938 @DomName('SVGPolylineElement.externalResourcesRequired') | |
| 4939 @DocsEditable() | |
| 4940 final AnimatedBoolean externalResourcesRequired; | |
| 4941 } | 4829 } |
| 4942 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4943 // for details. All rights reserved. Use of this source code is governed by a | 4831 // for details. All rights reserved. Use of this source code is governed by a |
| 4944 // BSD-style license that can be found in the LICENSE file. | 4832 // BSD-style license that can be found in the LICENSE file. |
| 4945 | 4833 |
| 4946 | 4834 |
| 4947 @DocsEditable() | 4835 @DocsEditable() |
| 4948 @DomName('SVGPreserveAspectRatio') | 4836 @DomName('SVGPreserveAspectRatio') |
| 4949 @Unstable() | 4837 @Unstable() |
| 4950 class PreserveAspectRatio extends Interceptor native "SVGPreserveAspectRatio" { | 4838 class PreserveAspectRatio extends Interceptor native "SVGPreserveAspectRatio" { |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5090 num y; | 4978 num y; |
| 5091 } | 4979 } |
| 5092 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5093 // for details. All rights reserved. Use of this source code is governed by a | 4981 // for details. All rights reserved. Use of this source code is governed by a |
| 5094 // BSD-style license that can be found in the LICENSE file. | 4982 // BSD-style license that can be found in the LICENSE file. |
| 5095 | 4983 |
| 5096 | 4984 |
| 5097 @DocsEditable() | 4985 @DocsEditable() |
| 5098 @DomName('SVGRectElement') | 4986 @DomName('SVGRectElement') |
| 5099 @Unstable() | 4987 @Unstable() |
| 5100 class RectElement extends GeometryElement implements ExternalResourcesRequired n
ative "SVGRectElement" { | 4988 class RectElement extends GeometryElement native "SVGRectElement" { |
| 5101 // To suppress missing implicit constructor warnings. | 4989 // To suppress missing implicit constructor warnings. |
| 5102 factory RectElement._() { throw new UnsupportedError("Not supported"); } | 4990 factory RectElement._() { throw new UnsupportedError("Not supported"); } |
| 5103 | 4991 |
| 5104 @DomName('SVGRectElement.SVGRectElement') | 4992 @DomName('SVGRectElement.SVGRectElement') |
| 5105 @DocsEditable() | 4993 @DocsEditable() |
| 5106 factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect
"); | 4994 factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect
"); |
| 5107 /** | 4995 /** |
| 5108 * Constructor instantiated by the DOM when a custom element has been created. | 4996 * Constructor instantiated by the DOM when a custom element has been created. |
| 5109 * | 4997 * |
| 5110 * This can only be called by subclasses from their created constructor. | 4998 * This can only be called by subclasses from their created constructor. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 5127 @DocsEditable() | 5015 @DocsEditable() |
| 5128 final AnimatedLength width; | 5016 final AnimatedLength width; |
| 5129 | 5017 |
| 5130 @DomName('SVGRectElement.x') | 5018 @DomName('SVGRectElement.x') |
| 5131 @DocsEditable() | 5019 @DocsEditable() |
| 5132 final AnimatedLength x; | 5020 final AnimatedLength x; |
| 5133 | 5021 |
| 5134 @DomName('SVGRectElement.y') | 5022 @DomName('SVGRectElement.y') |
| 5135 @DocsEditable() | 5023 @DocsEditable() |
| 5136 final AnimatedLength y; | 5024 final AnimatedLength y; |
| 5137 | |
| 5138 // From SVGExternalResourcesRequired | |
| 5139 | |
| 5140 @DomName('SVGRectElement.externalResourcesRequired') | |
| 5141 @DocsEditable() | |
| 5142 final AnimatedBoolean externalResourcesRequired; | |
| 5143 } | 5025 } |
| 5144 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5145 // for details. All rights reserved. Use of this source code is governed by a | 5027 // for details. All rights reserved. Use of this source code is governed by a |
| 5146 // BSD-style license that can be found in the LICENSE file. | 5028 // BSD-style license that can be found in the LICENSE file. |
| 5147 | 5029 |
| 5148 | 5030 |
| 5149 @DocsEditable() | 5031 @DocsEditable() |
| 5150 @DomName('SVGRenderingIntent') | 5032 @DomName('SVGRenderingIntent') |
| 5151 @Unstable() | 5033 @Unstable() |
| 5152 class RenderingIntent extends Interceptor native "SVGRenderingIntent" { | 5034 class RenderingIntent extends Interceptor native "SVGRenderingIntent" { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 5178 static const int RENDERING_INTENT_UNKNOWN = 0; | 5060 static const int RENDERING_INTENT_UNKNOWN = 0; |
| 5179 } | 5061 } |
| 5180 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5181 // for details. All rights reserved. Use of this source code is governed by a | 5063 // for details. All rights reserved. Use of this source code is governed by a |
| 5182 // BSD-style license that can be found in the LICENSE file. | 5064 // BSD-style license that can be found in the LICENSE file. |
| 5183 | 5065 |
| 5184 | 5066 |
| 5185 @DocsEditable() | 5067 @DocsEditable() |
| 5186 @DomName('SVGScriptElement') | 5068 @DomName('SVGScriptElement') |
| 5187 @Unstable() | 5069 @Unstable() |
| 5188 class ScriptElement extends SvgElement implements UriReference, ExternalResource
sRequired native "SVGScriptElement" { | 5070 class ScriptElement extends SvgElement implements UriReference native "SVGScript
Element" { |
| 5189 // To suppress missing implicit constructor warnings. | 5071 // To suppress missing implicit constructor warnings. |
| 5190 factory ScriptElement._() { throw new UnsupportedError("Not supported"); } | 5072 factory ScriptElement._() { throw new UnsupportedError("Not supported"); } |
| 5191 | 5073 |
| 5192 @DomName('SVGScriptElement.SVGScriptElement') | 5074 @DomName('SVGScriptElement.SVGScriptElement') |
| 5193 @DocsEditable() | 5075 @DocsEditable() |
| 5194 factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("sc
ript"); | 5076 factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("sc
ript"); |
| 5195 /** | 5077 /** |
| 5196 * Constructor instantiated by the DOM when a custom element has been created. | 5078 * Constructor instantiated by the DOM when a custom element has been created. |
| 5197 * | 5079 * |
| 5198 * This can only be called by subclasses from their created constructor. | 5080 * This can only be called by subclasses from their created constructor. |
| 5199 */ | 5081 */ |
| 5200 ScriptElement.created() : super.created(); | 5082 ScriptElement.created() : super.created(); |
| 5201 | 5083 |
| 5202 @DomName('SVGScriptElement.type') | 5084 @DomName('SVGScriptElement.type') |
| 5203 @DocsEditable() | 5085 @DocsEditable() |
| 5204 String type; | 5086 String type; |
| 5205 | 5087 |
| 5206 // From SVGExternalResourcesRequired | |
| 5207 | |
| 5208 @DomName('SVGScriptElement.externalResourcesRequired') | |
| 5209 @DocsEditable() | |
| 5210 final AnimatedBoolean externalResourcesRequired; | |
| 5211 | |
| 5212 // From SVGURIReference | 5088 // From SVGURIReference |
| 5213 | 5089 |
| 5214 @DomName('SVGScriptElement.href') | 5090 @DomName('SVGScriptElement.href') |
| 5215 @DocsEditable() | 5091 @DocsEditable() |
| 5216 final AnimatedString href; | 5092 final AnimatedString href; |
| 5217 } | 5093 } |
| 5218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5094 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5219 // for details. All rights reserved. Use of this source code is governed by a | 5095 // for details. All rights reserved. Use of this source code is governed by a |
| 5220 // BSD-style license that can be found in the LICENSE file. | 5096 // BSD-style license that can be found in the LICENSE file. |
| 5221 | 5097 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5395 String get title => JS("String", "#.title", this); | 5271 String get title => JS("String", "#.title", this); |
| 5396 | 5272 |
| 5397 void set title(String value) { | 5273 void set title(String value) { |
| 5398 JS("void", "#.title = #", this, value); | 5274 JS("void", "#.title = #", this, value); |
| 5399 } | 5275 } |
| 5400 | 5276 |
| 5401 @DomName('SVGStyleElement.type') | 5277 @DomName('SVGStyleElement.type') |
| 5402 @DocsEditable() | 5278 @DocsEditable() |
| 5403 String type; | 5279 String type; |
| 5404 } | 5280 } |
| 5405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5406 // for details. All rights reserved. Use of this source code is governed by a | |
| 5407 // BSD-style license that can be found in the LICENSE file. | |
| 5408 | |
| 5409 | |
| 5410 @DocsEditable() | |
| 5411 @DomName('SVGDocument') | |
| 5412 @Unstable() | |
| 5413 class SvgDocument extends Document native "SVGDocument" { | |
| 5414 // To suppress missing implicit constructor warnings. | |
| 5415 factory SvgDocument._() { throw new UnsupportedError("Not supported"); } | |
| 5416 | |
| 5417 @DomName('SVGDocument.rootElement') | |
| 5418 @DocsEditable() | |
| 5419 final SvgSvgElement rootElement; | |
| 5420 } | |
| 5421 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5281 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5422 // for details. All rights reserved. Use of this source code is governed by a | 5282 // for details. All rights reserved. Use of this source code is governed by a |
| 5423 // BSD-style license that can be found in the LICENSE file. | 5283 // BSD-style license that can be found in the LICENSE file. |
| 5424 | 5284 |
| 5425 | 5285 |
| 5426 class _AttributeClassSet extends CssClassSetImpl { | 5286 class _AttributeClassSet extends CssClassSetImpl { |
| 5427 final Element _element; | 5287 final Element _element; |
| 5428 | 5288 |
| 5429 _AttributeClassSet(this._element); | 5289 _AttributeClassSet(this._element); |
| 5430 | 5290 |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5770 @DomName('SVGElement.ratechangeEvent') | 5630 @DomName('SVGElement.ratechangeEvent') |
| 5771 @DocsEditable() | 5631 @DocsEditable() |
| 5772 @Experimental() // untriaged | 5632 @Experimental() // untriaged |
| 5773 static const EventStreamProvider<Event> rateChangeEvent = const EventStreamPro
vider<Event>('ratechange'); | 5633 static const EventStreamProvider<Event> rateChangeEvent = const EventStreamPro
vider<Event>('ratechange'); |
| 5774 | 5634 |
| 5775 @DomName('SVGElement.resetEvent') | 5635 @DomName('SVGElement.resetEvent') |
| 5776 @DocsEditable() | 5636 @DocsEditable() |
| 5777 @Experimental() // untriaged | 5637 @Experimental() // untriaged |
| 5778 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); | 5638 static const EventStreamProvider<Event> resetEvent = const EventStreamProvider
<Event>('reset'); |
| 5779 | 5639 |
| 5640 @DomName('SVGElement.resizeEvent') |
| 5641 @DocsEditable() |
| 5642 @Experimental() // untriaged |
| 5643 static const EventStreamProvider<Event> resizeEvent = const EventStreamProvide
r<Event>('resize'); |
| 5644 |
| 5780 @DomName('SVGElement.scrollEvent') | 5645 @DomName('SVGElement.scrollEvent') |
| 5781 @DocsEditable() | 5646 @DocsEditable() |
| 5782 @Experimental() // untriaged | 5647 @Experimental() // untriaged |
| 5783 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); | 5648 static const EventStreamProvider<Event> scrollEvent = const EventStreamProvide
r<Event>('scroll'); |
| 5784 | 5649 |
| 5785 @DomName('SVGElement.seekedEvent') | 5650 @DomName('SVGElement.seekedEvent') |
| 5786 @DocsEditable() | 5651 @DocsEditable() |
| 5787 @Experimental() // untriaged | 5652 @Experimental() // untriaged |
| 5788 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide
r<Event>('seeked'); | 5653 static const EventStreamProvider<Event> seekedEvent = const EventStreamProvide
r<Event>('seeked'); |
| 5789 | 5654 |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6060 @DomName('SVGElement.onratechange') | 5925 @DomName('SVGElement.onratechange') |
| 6061 @DocsEditable() | 5926 @DocsEditable() |
| 6062 @Experimental() // untriaged | 5927 @Experimental() // untriaged |
| 6063 ElementStream<Event> get onRateChange => rateChangeEvent.forElement(this); | 5928 ElementStream<Event> get onRateChange => rateChangeEvent.forElement(this); |
| 6064 | 5929 |
| 6065 @DomName('SVGElement.onreset') | 5930 @DomName('SVGElement.onreset') |
| 6066 @DocsEditable() | 5931 @DocsEditable() |
| 6067 @Experimental() // untriaged | 5932 @Experimental() // untriaged |
| 6068 ElementStream<Event> get onReset => resetEvent.forElement(this); | 5933 ElementStream<Event> get onReset => resetEvent.forElement(this); |
| 6069 | 5934 |
| 5935 @DomName('SVGElement.onresize') |
| 5936 @DocsEditable() |
| 5937 @Experimental() // untriaged |
| 5938 ElementStream<Event> get onResize => resizeEvent.forElement(this); |
| 5939 |
| 6070 @DomName('SVGElement.onscroll') | 5940 @DomName('SVGElement.onscroll') |
| 6071 @DocsEditable() | 5941 @DocsEditable() |
| 6072 @Experimental() // untriaged | 5942 @Experimental() // untriaged |
| 6073 ElementStream<Event> get onScroll => scrollEvent.forElement(this); | 5943 ElementStream<Event> get onScroll => scrollEvent.forElement(this); |
| 6074 | 5944 |
| 6075 @DomName('SVGElement.onseeked') | 5945 @DomName('SVGElement.onseeked') |
| 6076 @DocsEditable() | 5946 @DocsEditable() |
| 6077 @Experimental() // untriaged | 5947 @Experimental() // untriaged |
| 6078 ElementStream<Event> get onSeeked => seekedEvent.forElement(this); | 5948 ElementStream<Event> get onSeeked => seekedEvent.forElement(this); |
| 6079 | 5949 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6118 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); | 5988 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); |
| 6119 | 5989 |
| 6120 } | 5990 } |
| 6121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6122 // for details. All rights reserved. Use of this source code is governed by a | 5992 // for details. All rights reserved. Use of this source code is governed by a |
| 6123 // BSD-style license that can be found in the LICENSE file. | 5993 // BSD-style license that can be found in the LICENSE file. |
| 6124 | 5994 |
| 6125 | 5995 |
| 6126 @DomName('SVGSVGElement') | 5996 @DomName('SVGSVGElement') |
| 6127 @Unstable() | 5997 @Unstable() |
| 6128 class SvgSvgElement extends GraphicsElement implements FitToViewBox, ExternalRes
ourcesRequired, ZoomAndPan native "SVGSVGElement" { | 5998 class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan
native "SVGSVGElement" { |
| 6129 factory SvgSvgElement() { | 5999 factory SvgSvgElement() { |
| 6130 final el = new SvgElement.tag("svg"); | 6000 final el = new SvgElement.tag("svg"); |
| 6131 // The SVG spec requires the version attribute to match the spec version | 6001 // The SVG spec requires the version attribute to match the spec version |
| 6132 el.attributes['version'] = "1.1"; | 6002 el.attributes['version'] = "1.1"; |
| 6133 return el; | 6003 return el; |
| 6134 } | 6004 } |
| 6135 | 6005 |
| 6136 // To suppress missing implicit constructor warnings. | 6006 // To suppress missing implicit constructor warnings. |
| 6137 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } | 6007 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } |
| 6138 /** | 6008 /** |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6299 void unpauseAnimations() native; | 6169 void unpauseAnimations() native; |
| 6300 | 6170 |
| 6301 @DomName('SVGSVGElement.unsuspendRedraw') | 6171 @DomName('SVGSVGElement.unsuspendRedraw') |
| 6302 @DocsEditable() | 6172 @DocsEditable() |
| 6303 void unsuspendRedraw(int suspendHandleId) native; | 6173 void unsuspendRedraw(int suspendHandleId) native; |
| 6304 | 6174 |
| 6305 @DomName('SVGSVGElement.unsuspendRedrawAll') | 6175 @DomName('SVGSVGElement.unsuspendRedrawAll') |
| 6306 @DocsEditable() | 6176 @DocsEditable() |
| 6307 void unsuspendRedrawAll() native; | 6177 void unsuspendRedrawAll() native; |
| 6308 | 6178 |
| 6309 // From SVGExternalResourcesRequired | |
| 6310 | |
| 6311 @DomName('SVGSVGElement.externalResourcesRequired') | |
| 6312 @DocsEditable() | |
| 6313 final AnimatedBoolean externalResourcesRequired; | |
| 6314 | |
| 6315 // From SVGFitToViewBox | 6179 // From SVGFitToViewBox |
| 6316 | 6180 |
| 6317 @DomName('SVGSVGElement.preserveAspectRatio') | 6181 @DomName('SVGSVGElement.preserveAspectRatio') |
| 6318 @DocsEditable() | 6182 @DocsEditable() |
| 6319 final AnimatedPreserveAspectRatio preserveAspectRatio; | 6183 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 6320 | 6184 |
| 6321 @DomName('SVGSVGElement.viewBox') | 6185 @DomName('SVGSVGElement.viewBox') |
| 6322 @DocsEditable() | 6186 @DocsEditable() |
| 6323 final AnimatedRect viewBox; | 6187 final AnimatedRect viewBox; |
| 6324 | 6188 |
| 6325 // From SVGZoomAndPan | 6189 // From SVGZoomAndPan |
| 6326 | 6190 |
| 6327 @DomName('SVGSVGElement.zoomAndPan') | 6191 @DomName('SVGSVGElement.zoomAndPan') |
| 6328 @DocsEditable() | 6192 @DocsEditable() |
| 6329 int zoomAndPan; | 6193 int zoomAndPan; |
| 6330 | 6194 |
| 6331 } | 6195 } |
| 6332 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6333 // for details. All rights reserved. Use of this source code is governed by a | 6197 // for details. All rights reserved. Use of this source code is governed by a |
| 6334 // BSD-style license that can be found in the LICENSE file. | 6198 // BSD-style license that can be found in the LICENSE file. |
| 6335 | 6199 |
| 6336 | 6200 |
| 6337 @DocsEditable() | 6201 @DocsEditable() |
| 6338 @DomName('SVGSwitchElement') | 6202 @DomName('SVGSwitchElement') |
| 6339 @Unstable() | 6203 @Unstable() |
| 6340 class SwitchElement extends GraphicsElement implements ExternalResourcesRequired
native "SVGSwitchElement" { | 6204 class SwitchElement extends GraphicsElement native "SVGSwitchElement" { |
| 6341 // To suppress missing implicit constructor warnings. | 6205 // To suppress missing implicit constructor warnings. |
| 6342 factory SwitchElement._() { throw new UnsupportedError("Not supported"); } | 6206 factory SwitchElement._() { throw new UnsupportedError("Not supported"); } |
| 6343 | 6207 |
| 6344 @DomName('SVGSwitchElement.SVGSwitchElement') | 6208 @DomName('SVGSwitchElement.SVGSwitchElement') |
| 6345 @DocsEditable() | 6209 @DocsEditable() |
| 6346 factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("sw
itch"); | 6210 factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("sw
itch"); |
| 6347 /** | 6211 /** |
| 6348 * Constructor instantiated by the DOM when a custom element has been created. | 6212 * Constructor instantiated by the DOM when a custom element has been created. |
| 6349 * | 6213 * |
| 6350 * This can only be called by subclasses from their created constructor. | 6214 * This can only be called by subclasses from their created constructor. |
| 6351 */ | 6215 */ |
| 6352 SwitchElement.created() : super.created(); | 6216 SwitchElement.created() : super.created(); |
| 6353 | |
| 6354 // From SVGExternalResourcesRequired | |
| 6355 | |
| 6356 @DomName('SVGSwitchElement.externalResourcesRequired') | |
| 6357 @DocsEditable() | |
| 6358 final AnimatedBoolean externalResourcesRequired; | |
| 6359 } | 6217 } |
| 6360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6361 // for details. All rights reserved. Use of this source code is governed by a | 6219 // for details. All rights reserved. Use of this source code is governed by a |
| 6362 // BSD-style license that can be found in the LICENSE file. | 6220 // BSD-style license that can be found in the LICENSE file. |
| 6363 | 6221 |
| 6364 | 6222 |
| 6365 @DocsEditable() | 6223 @DocsEditable() |
| 6366 @DomName('SVGSymbolElement') | 6224 @DomName('SVGSymbolElement') |
| 6367 @Unstable() | 6225 @Unstable() |
| 6368 class SymbolElement extends SvgElement implements FitToViewBox, ExternalResource
sRequired native "SVGSymbolElement" { | 6226 class SymbolElement extends SvgElement implements FitToViewBox native "SVGSymbol
Element" { |
| 6369 // To suppress missing implicit constructor warnings. | 6227 // To suppress missing implicit constructor warnings. |
| 6370 factory SymbolElement._() { throw new UnsupportedError("Not supported"); } | 6228 factory SymbolElement._() { throw new UnsupportedError("Not supported"); } |
| 6371 | 6229 |
| 6372 @DomName('SVGSymbolElement.SVGSymbolElement') | 6230 @DomName('SVGSymbolElement.SVGSymbolElement') |
| 6373 @DocsEditable() | 6231 @DocsEditable() |
| 6374 factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("sy
mbol"); | 6232 factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("sy
mbol"); |
| 6375 /** | 6233 /** |
| 6376 * Constructor instantiated by the DOM when a custom element has been created. | 6234 * Constructor instantiated by the DOM when a custom element has been created. |
| 6377 * | 6235 * |
| 6378 * This can only be called by subclasses from their created constructor. | 6236 * This can only be called by subclasses from their created constructor. |
| 6379 */ | 6237 */ |
| 6380 SymbolElement.created() : super.created(); | 6238 SymbolElement.created() : super.created(); |
| 6381 | 6239 |
| 6382 // From SVGExternalResourcesRequired | |
| 6383 | |
| 6384 @DomName('SVGSymbolElement.externalResourcesRequired') | |
| 6385 @DocsEditable() | |
| 6386 final AnimatedBoolean externalResourcesRequired; | |
| 6387 | |
| 6388 // From SVGFitToViewBox | 6240 // From SVGFitToViewBox |
| 6389 | 6241 |
| 6390 @DomName('SVGSymbolElement.preserveAspectRatio') | 6242 @DomName('SVGSymbolElement.preserveAspectRatio') |
| 6391 @DocsEditable() | 6243 @DocsEditable() |
| 6392 final AnimatedPreserveAspectRatio preserveAspectRatio; | 6244 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 6393 | 6245 |
| 6394 @DomName('SVGSymbolElement.viewBox') | 6246 @DomName('SVGSymbolElement.viewBox') |
| 6395 @DocsEditable() | 6247 @DocsEditable() |
| 6396 final AnimatedRect viewBox; | 6248 final AnimatedRect viewBox; |
| 6397 } | 6249 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6438 bool hasExtension(String extension); | 6290 bool hasExtension(String extension); |
| 6439 } | 6291 } |
| 6440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6441 // for details. All rights reserved. Use of this source code is governed by a | 6293 // for details. All rights reserved. Use of this source code is governed by a |
| 6442 // BSD-style license that can be found in the LICENSE file. | 6294 // BSD-style license that can be found in the LICENSE file. |
| 6443 | 6295 |
| 6444 | 6296 |
| 6445 @DocsEditable() | 6297 @DocsEditable() |
| 6446 @DomName('SVGTextContentElement') | 6298 @DomName('SVGTextContentElement') |
| 6447 @Unstable() | 6299 @Unstable() |
| 6448 class TextContentElement extends GraphicsElement implements ExternalResourcesReq
uired native "SVGTextContentElement" { | 6300 class TextContentElement extends GraphicsElement native "SVGTextContentElement"
{ |
| 6449 // To suppress missing implicit constructor warnings. | 6301 // To suppress missing implicit constructor warnings. |
| 6450 factory TextContentElement._() { throw new UnsupportedError("Not supported");
} | 6302 factory TextContentElement._() { throw new UnsupportedError("Not supported");
} |
| 6451 /** | 6303 /** |
| 6452 * Constructor instantiated by the DOM when a custom element has been created. | 6304 * Constructor instantiated by the DOM when a custom element has been created. |
| 6453 * | 6305 * |
| 6454 * This can only be called by subclasses from their created constructor. | 6306 * This can only be called by subclasses from their created constructor. |
| 6455 */ | 6307 */ |
| 6456 TextContentElement.created() : super.created(); | 6308 TextContentElement.created() : super.created(); |
| 6457 | 6309 |
| 6458 @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') | 6310 @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6503 @DocsEditable() | 6355 @DocsEditable() |
| 6504 Point getStartPositionOfChar(int offset) native; | 6356 Point getStartPositionOfChar(int offset) native; |
| 6505 | 6357 |
| 6506 @DomName('SVGTextContentElement.getSubStringLength') | 6358 @DomName('SVGTextContentElement.getSubStringLength') |
| 6507 @DocsEditable() | 6359 @DocsEditable() |
| 6508 double getSubStringLength(int offset, int length) native; | 6360 double getSubStringLength(int offset, int length) native; |
| 6509 | 6361 |
| 6510 @DomName('SVGTextContentElement.selectSubString') | 6362 @DomName('SVGTextContentElement.selectSubString') |
| 6511 @DocsEditable() | 6363 @DocsEditable() |
| 6512 void selectSubString(int offset, int length) native; | 6364 void selectSubString(int offset, int length) native; |
| 6513 | |
| 6514 // From SVGExternalResourcesRequired | |
| 6515 | |
| 6516 @DomName('SVGTextContentElement.externalResourcesRequired') | |
| 6517 @DocsEditable() | |
| 6518 final AnimatedBoolean externalResourcesRequired; | |
| 6519 } | 6365 } |
| 6520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6521 // for details. All rights reserved. Use of this source code is governed by a | 6367 // for details. All rights reserved. Use of this source code is governed by a |
| 6522 // BSD-style license that can be found in the LICENSE file. | 6368 // BSD-style license that can be found in the LICENSE file. |
| 6523 | 6369 |
| 6524 | 6370 |
| 6525 @DocsEditable() | 6371 @DocsEditable() |
| 6526 @DomName('SVGTextElement') | 6372 @DomName('SVGTextElement') |
| 6527 @Unstable() | 6373 @Unstable() |
| 6528 class TextElement extends TextPositioningElement native "SVGTextElement" { | 6374 class TextElement extends TextPositioningElement native "SVGTextElement" { |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6873 final AnimatedString href; | 6719 final AnimatedString href; |
| 6874 } | 6720 } |
| 6875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6876 // for details. All rights reserved. Use of this source code is governed by a | 6722 // for details. All rights reserved. Use of this source code is governed by a |
| 6877 // BSD-style license that can be found in the LICENSE file. | 6723 // BSD-style license that can be found in the LICENSE file. |
| 6878 | 6724 |
| 6879 | 6725 |
| 6880 @DocsEditable() | 6726 @DocsEditable() |
| 6881 @DomName('SVGUseElement') | 6727 @DomName('SVGUseElement') |
| 6882 @Unstable() | 6728 @Unstable() |
| 6883 class UseElement extends GraphicsElement implements UriReference, ExternalResour
cesRequired, Tests native "SVGUseElement" { | 6729 class UseElement extends GraphicsElement implements UriReference, Tests native "
SVGUseElement" { |
| 6884 // To suppress missing implicit constructor warnings. | 6730 // To suppress missing implicit constructor warnings. |
| 6885 factory UseElement._() { throw new UnsupportedError("Not supported"); } | 6731 factory UseElement._() { throw new UnsupportedError("Not supported"); } |
| 6886 | 6732 |
| 6887 @DomName('SVGUseElement.SVGUseElement') | 6733 @DomName('SVGUseElement.SVGUseElement') |
| 6888 @DocsEditable() | 6734 @DocsEditable() |
| 6889 factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use")
; | 6735 factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use")
; |
| 6890 /** | 6736 /** |
| 6891 * Constructor instantiated by the DOM when a custom element has been created. | 6737 * Constructor instantiated by the DOM when a custom element has been created. |
| 6892 * | 6738 * |
| 6893 * This can only be called by subclasses from their created constructor. | 6739 * This can only be called by subclasses from their created constructor. |
| (...skipping 17 matching lines...) Expand all Loading... |
| 6911 final AnimatedLength width; | 6757 final AnimatedLength width; |
| 6912 | 6758 |
| 6913 @DomName('SVGUseElement.x') | 6759 @DomName('SVGUseElement.x') |
| 6914 @DocsEditable() | 6760 @DocsEditable() |
| 6915 final AnimatedLength x; | 6761 final AnimatedLength x; |
| 6916 | 6762 |
| 6917 @DomName('SVGUseElement.y') | 6763 @DomName('SVGUseElement.y') |
| 6918 @DocsEditable() | 6764 @DocsEditable() |
| 6919 final AnimatedLength y; | 6765 final AnimatedLength y; |
| 6920 | 6766 |
| 6921 // From SVGExternalResourcesRequired | |
| 6922 | |
| 6923 @DomName('SVGUseElement.externalResourcesRequired') | |
| 6924 @DocsEditable() | |
| 6925 final AnimatedBoolean externalResourcesRequired; | |
| 6926 | |
| 6927 // From SVGTests | 6767 // From SVGTests |
| 6928 | 6768 |
| 6929 @DomName('SVGUseElement.requiredExtensions') | 6769 @DomName('SVGUseElement.requiredExtensions') |
| 6930 @DocsEditable() | 6770 @DocsEditable() |
| 6931 final StringList requiredExtensions; | 6771 final StringList requiredExtensions; |
| 6932 | 6772 |
| 6933 @DomName('SVGUseElement.requiredFeatures') | 6773 @DomName('SVGUseElement.requiredFeatures') |
| 6934 @DocsEditable() | 6774 @DocsEditable() |
| 6935 final StringList requiredFeatures; | 6775 final StringList requiredFeatures; |
| 6936 | 6776 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 6949 final AnimatedString href; | 6789 final AnimatedString href; |
| 6950 } | 6790 } |
| 6951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6952 // for details. All rights reserved. Use of this source code is governed by a | 6792 // for details. All rights reserved. Use of this source code is governed by a |
| 6953 // BSD-style license that can be found in the LICENSE file. | 6793 // BSD-style license that can be found in the LICENSE file. |
| 6954 | 6794 |
| 6955 | 6795 |
| 6956 @DocsEditable() | 6796 @DocsEditable() |
| 6957 @DomName('SVGViewElement') | 6797 @DomName('SVGViewElement') |
| 6958 @Unstable() | 6798 @Unstable() |
| 6959 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR
equired, ZoomAndPan native "SVGViewElement" { | 6799 class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan native
"SVGViewElement" { |
| 6960 // To suppress missing implicit constructor warnings. | 6800 // To suppress missing implicit constructor warnings. |
| 6961 factory ViewElement._() { throw new UnsupportedError("Not supported"); } | 6801 factory ViewElement._() { throw new UnsupportedError("Not supported"); } |
| 6962 | 6802 |
| 6963 @DomName('SVGViewElement.SVGViewElement') | 6803 @DomName('SVGViewElement.SVGViewElement') |
| 6964 @DocsEditable() | 6804 @DocsEditable() |
| 6965 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view
"); | 6805 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view
"); |
| 6966 /** | 6806 /** |
| 6967 * Constructor instantiated by the DOM when a custom element has been created. | 6807 * Constructor instantiated by the DOM when a custom element has been created. |
| 6968 * | 6808 * |
| 6969 * This can only be called by subclasses from their created constructor. | 6809 * This can only be called by subclasses from their created constructor. |
| 6970 */ | 6810 */ |
| 6971 ViewElement.created() : super.created(); | 6811 ViewElement.created() : super.created(); |
| 6972 | 6812 |
| 6973 @DomName('SVGViewElement.viewTarget') | 6813 @DomName('SVGViewElement.viewTarget') |
| 6974 @DocsEditable() | 6814 @DocsEditable() |
| 6975 final StringList viewTarget; | 6815 final StringList viewTarget; |
| 6976 | 6816 |
| 6977 // From SVGExternalResourcesRequired | |
| 6978 | |
| 6979 @DomName('SVGViewElement.externalResourcesRequired') | |
| 6980 @DocsEditable() | |
| 6981 final AnimatedBoolean externalResourcesRequired; | |
| 6982 | |
| 6983 // From SVGFitToViewBox | 6817 // From SVGFitToViewBox |
| 6984 | 6818 |
| 6985 @DomName('SVGViewElement.preserveAspectRatio') | 6819 @DomName('SVGViewElement.preserveAspectRatio') |
| 6986 @DocsEditable() | 6820 @DocsEditable() |
| 6987 final AnimatedPreserveAspectRatio preserveAspectRatio; | 6821 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 6988 | 6822 |
| 6989 @DomName('SVGViewElement.viewBox') | 6823 @DomName('SVGViewElement.viewBox') |
| 6990 @DocsEditable() | 6824 @DocsEditable() |
| 6991 final AnimatedRect viewBox; | 6825 final AnimatedRect viewBox; |
| 6992 | 6826 |
| 6993 // From SVGZoomAndPan | 6827 // From SVGZoomAndPan |
| 6994 | 6828 |
| 6995 @DomName('SVGViewElement.zoomAndPan') | 6829 @DomName('SVGViewElement.zoomAndPan') |
| 6996 @DocsEditable() | 6830 @DocsEditable() |
| 6997 int zoomAndPan; | 6831 int zoomAndPan; |
| 6998 } | 6832 } |
| 6999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6833 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7000 // for details. All rights reserved. Use of this source code is governed by a | 6834 // for details. All rights reserved. Use of this source code is governed by a |
| 7001 // BSD-style license that can be found in the LICENSE file. | 6835 // BSD-style license that can be found in the LICENSE file. |
| 7002 | 6836 |
| 7003 | 6837 |
| 7004 @DocsEditable() | 6838 @DocsEditable() |
| 7005 @DomName('SVGViewSpec') | 6839 @DomName('SVGViewSpec') |
| 7006 @Unstable() | 6840 @Unstable() |
| 7007 class ViewSpec extends Interceptor implements FitToViewBox native "SVGViewSpec"
{ | 6841 class ViewSpec extends Interceptor implements FitToViewBox, ZoomAndPan native "S
VGViewSpec" { |
| 7008 // To suppress missing implicit constructor warnings. | 6842 // To suppress missing implicit constructor warnings. |
| 7009 factory ViewSpec._() { throw new UnsupportedError("Not supported"); } | 6843 factory ViewSpec._() { throw new UnsupportedError("Not supported"); } |
| 7010 | 6844 |
| 7011 @DomName('SVGViewSpec.preserveAspectRatioString') | 6845 @DomName('SVGViewSpec.preserveAspectRatioString') |
| 7012 @DocsEditable() | 6846 @DocsEditable() |
| 7013 final String preserveAspectRatioString; | 6847 final String preserveAspectRatioString; |
| 7014 | 6848 |
| 7015 @DomName('SVGViewSpec.transform') | 6849 @DomName('SVGViewSpec.transform') |
| 7016 @DocsEditable() | 6850 @DocsEditable() |
| 7017 final TransformList transform; | 6851 final TransformList transform; |
| 7018 | 6852 |
| 7019 @DomName('SVGViewSpec.transformString') | 6853 @DomName('SVGViewSpec.transformString') |
| 7020 @DocsEditable() | 6854 @DocsEditable() |
| 7021 final String transformString; | 6855 final String transformString; |
| 7022 | 6856 |
| 7023 @DomName('SVGViewSpec.viewBoxString') | 6857 @DomName('SVGViewSpec.viewBoxString') |
| 7024 @DocsEditable() | 6858 @DocsEditable() |
| 7025 final String viewBoxString; | 6859 final String viewBoxString; |
| 7026 | 6860 |
| 7027 @DomName('SVGViewSpec.viewTarget') | 6861 @DomName('SVGViewSpec.viewTarget') |
| 7028 @DocsEditable() | 6862 @DocsEditable() |
| 7029 final SvgElement viewTarget; | 6863 final SvgElement viewTarget; |
| 7030 | 6864 |
| 7031 @DomName('SVGViewSpec.viewTargetString') | 6865 @DomName('SVGViewSpec.viewTargetString') |
| 7032 @DocsEditable() | 6866 @DocsEditable() |
| 7033 final String viewTargetString; | 6867 final String viewTargetString; |
| 7034 | 6868 |
| 7035 @DomName('SVGViewSpec.zoomAndPan') | |
| 7036 @DocsEditable() | |
| 7037 @Experimental() // nonstandard | |
| 7038 int zoomAndPan; | |
| 7039 | |
| 7040 // From SVGFitToViewBox | 6869 // From SVGFitToViewBox |
| 7041 | 6870 |
| 7042 @DomName('SVGViewSpec.preserveAspectRatio') | 6871 @DomName('SVGViewSpec.preserveAspectRatio') |
| 7043 @DocsEditable() | 6872 @DocsEditable() |
| 7044 @Experimental() // nonstandard | 6873 @Experimental() // nonstandard |
| 7045 final AnimatedPreserveAspectRatio preserveAspectRatio; | 6874 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 7046 | 6875 |
| 7047 @DomName('SVGViewSpec.viewBox') | 6876 @DomName('SVGViewSpec.viewBox') |
| 7048 @DocsEditable() | 6877 @DocsEditable() |
| 7049 @Experimental() // nonstandard | 6878 @Experimental() // nonstandard |
| 7050 final AnimatedRect viewBox; | 6879 final AnimatedRect viewBox; |
| 6880 |
| 6881 // From SVGZoomAndPan |
| 6882 |
| 6883 @DomName('SVGViewSpec.zoomAndPan') |
| 6884 @DocsEditable() |
| 6885 @Experimental() // nonstandard |
| 6886 int zoomAndPan; |
| 7051 } | 6887 } |
| 7052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6888 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7053 // for details. All rights reserved. Use of this source code is governed by a | 6889 // for details. All rights reserved. Use of this source code is governed by a |
| 7054 // BSD-style license that can be found in the LICENSE file. | 6890 // BSD-style license that can be found in the LICENSE file. |
| 7055 | 6891 |
| 7056 | 6892 |
| 7057 @DocsEditable() | 6893 @DocsEditable() |
| 7058 @DomName('SVGZoomAndPan') | 6894 @DomName('SVGZoomAndPan') |
| 7059 @Unstable() | 6895 @Unstable() |
| 7060 abstract class ZoomAndPan extends Interceptor { | 6896 abstract class ZoomAndPan extends Interceptor { |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7172 ElementInstance item(int index) native; | 7008 ElementInstance item(int index) native; |
| 7173 } | 7009 } |
| 7174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7175 // for details. All rights reserved. Use of this source code is governed by a | 7011 // for details. All rights reserved. Use of this source code is governed by a |
| 7176 // BSD-style license that can be found in the LICENSE file. | 7012 // BSD-style license that can be found in the LICENSE file. |
| 7177 | 7013 |
| 7178 | 7014 |
| 7179 @DocsEditable() | 7015 @DocsEditable() |
| 7180 @DomName('SVGGradientElement') | 7016 @DomName('SVGGradientElement') |
| 7181 @Unstable() | 7017 @Unstable() |
| 7182 class _GradientElement extends SvgElement implements UriReference, ExternalResou
rcesRequired native "SVGGradientElement" { | 7018 class _GradientElement extends SvgElement implements UriReference native "SVGGra
dientElement" { |
| 7183 // To suppress missing implicit constructor warnings. | 7019 // To suppress missing implicit constructor warnings. |
| 7184 factory _GradientElement._() { throw new UnsupportedError("Not supported"); } | 7020 factory _GradientElement._() { throw new UnsupportedError("Not supported"); } |
| 7185 /** | 7021 /** |
| 7186 * Constructor instantiated by the DOM when a custom element has been created. | 7022 * Constructor instantiated by the DOM when a custom element has been created. |
| 7187 * | 7023 * |
| 7188 * This can only be called by subclasses from their created constructor. | 7024 * This can only be called by subclasses from their created constructor. |
| 7189 */ | 7025 */ |
| 7190 _GradientElement.created() : super.created(); | 7026 _GradientElement.created() : super.created(); |
| 7191 | 7027 |
| 7192 @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') | 7028 @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') |
| (...skipping 17 matching lines...) Expand all Loading... |
| 7210 final AnimatedTransformList gradientTransform; | 7046 final AnimatedTransformList gradientTransform; |
| 7211 | 7047 |
| 7212 @DomName('SVGGradientElement.gradientUnits') | 7048 @DomName('SVGGradientElement.gradientUnits') |
| 7213 @DocsEditable() | 7049 @DocsEditable() |
| 7214 final AnimatedEnumeration gradientUnits; | 7050 final AnimatedEnumeration gradientUnits; |
| 7215 | 7051 |
| 7216 @DomName('SVGGradientElement.spreadMethod') | 7052 @DomName('SVGGradientElement.spreadMethod') |
| 7217 @DocsEditable() | 7053 @DocsEditable() |
| 7218 final AnimatedEnumeration spreadMethod; | 7054 final AnimatedEnumeration spreadMethod; |
| 7219 | 7055 |
| 7220 // From SVGExternalResourcesRequired | |
| 7221 | |
| 7222 @DomName('SVGGradientElement.externalResourcesRequired') | |
| 7223 @DocsEditable() | |
| 7224 final AnimatedBoolean externalResourcesRequired; | |
| 7225 | |
| 7226 // From SVGURIReference | 7056 // From SVGURIReference |
| 7227 | 7057 |
| 7228 @DomName('SVGGradientElement.href') | 7058 @DomName('SVGGradientElement.href') |
| 7229 @DocsEditable() | 7059 @DocsEditable() |
| 7230 final AnimatedString href; | 7060 final AnimatedString href; |
| 7231 } | 7061 } |
| 7232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7233 // for details. All rights reserved. Use of this source code is governed by a | 7063 // for details. All rights reserved. Use of this source code is governed by a |
| 7234 // BSD-style license that can be found in the LICENSE file. | 7064 // BSD-style license that can be found in the LICENSE file. |
| 7235 | 7065 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 7264 * This can only be called by subclasses from their created constructor. | 7094 * This can only be called by subclasses from their created constructor. |
| 7265 */ | 7095 */ |
| 7266 _SVGAltGlyphItemElement.created() : super.created(); | 7096 _SVGAltGlyphItemElement.created() : super.created(); |
| 7267 } | 7097 } |
| 7268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7269 // for details. All rights reserved. Use of this source code is governed by a | 7099 // for details. All rights reserved. Use of this source code is governed by a |
| 7270 // BSD-style license that can be found in the LICENSE file. | 7100 // BSD-style license that can be found in the LICENSE file. |
| 7271 | 7101 |
| 7272 | 7102 |
| 7273 @DocsEditable() | 7103 @DocsEditable() |
| 7274 @DomName('SVGAnimateColorElement') | |
| 7275 @Unstable() | |
| 7276 abstract class _SVGAnimateColorElement extends AnimationElement native "SVGAnima
teColorElement" { | |
| 7277 // To suppress missing implicit constructor warnings. | |
| 7278 factory _SVGAnimateColorElement._() { throw new UnsupportedError("Not supporte
d"); } | |
| 7279 /** | |
| 7280 * Constructor instantiated by the DOM when a custom element has been created. | |
| 7281 * | |
| 7282 * This can only be called by subclasses from their created constructor. | |
| 7283 */ | |
| 7284 _SVGAnimateColorElement.created() : super.created(); | |
| 7285 } | |
| 7286 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 7287 // for details. All rights reserved. Use of this source code is governed by a | |
| 7288 // BSD-style license that can be found in the LICENSE file. | |
| 7289 | |
| 7290 | |
| 7291 // Hack because the baseclass is private in dart:html, and we want to omit this | |
| 7292 // type entirely but can't. | |
| 7293 @DocsEditable() | |
| 7294 @DomName('SVGColor') | |
| 7295 @Unstable() | |
| 7296 abstract class _SVGColor native "SVGColor" { | |
| 7297 _SVGColor.internal(); | |
| 7298 } | |
| 7299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 7300 // for details. All rights reserved. Use of this source code is governed by a | |
| 7301 // BSD-style license that can be found in the LICENSE file. | |
| 7302 | |
| 7303 | |
| 7304 @DocsEditable() | |
| 7305 @DomName('SVGComponentTransferFunctionElement') | 7104 @DomName('SVGComponentTransferFunctionElement') |
| 7306 @Unstable() | 7105 @Unstable() |
| 7307 abstract class _SVGComponentTransferFunctionElement extends SvgElement native "S
VGComponentTransferFunctionElement" { | 7106 abstract class _SVGComponentTransferFunctionElement extends SvgElement native "S
VGComponentTransferFunctionElement" { |
| 7308 // To suppress missing implicit constructor warnings. | 7107 // To suppress missing implicit constructor warnings. |
| 7309 factory _SVGComponentTransferFunctionElement._() { throw new UnsupportedError(
"Not supported"); } | 7108 factory _SVGComponentTransferFunctionElement._() { throw new UnsupportedError(
"Not supported"); } |
| 7310 /** | 7109 /** |
| 7311 * Constructor instantiated by the DOM when a custom element has been created. | 7110 * Constructor instantiated by the DOM when a custom element has been created. |
| 7312 * | 7111 * |
| 7313 * This can only be called by subclasses from their created constructor. | 7112 * This can only be called by subclasses from their created constructor. |
| 7314 */ | 7113 */ |
| 7315 _SVGComponentTransferFunctionElement.created() : super.created(); | 7114 _SVGComponentTransferFunctionElement.created() : super.created(); |
| 7316 } | 7115 } |
| 7317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7116 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7318 // for details. All rights reserved. Use of this source code is governed by a | 7117 // for details. All rights reserved. Use of this source code is governed by a |
| 7319 // BSD-style license that can be found in the LICENSE file. | 7118 // BSD-style license that can be found in the LICENSE file. |
| 7320 | 7119 |
| 7321 | 7120 |
| 7322 @DocsEditable() | 7121 @DocsEditable() |
| 7323 @DomName('SVGCursorElement') | 7122 @DomName('SVGCursorElement') |
| 7324 @Unstable() | 7123 @Unstable() |
| 7325 abstract class _SVGCursorElement extends SvgElement implements UriReference, Ext
ernalResourcesRequired, Tests native "SVGCursorElement" { | 7124 abstract class _SVGCursorElement extends SvgElement implements UriReference, Tes
ts native "SVGCursorElement" { |
| 7326 // To suppress missing implicit constructor warnings. | 7125 // To suppress missing implicit constructor warnings. |
| 7327 factory _SVGCursorElement._() { throw new UnsupportedError("Not supported"); } | 7126 factory _SVGCursorElement._() { throw new UnsupportedError("Not supported"); } |
| 7328 | 7127 |
| 7329 @DomName('SVGCursorElement.SVGCursorElement') | 7128 @DomName('SVGCursorElement.SVGCursorElement') |
| 7330 @DocsEditable() | 7129 @DocsEditable() |
| 7331 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag
("cursor"); | 7130 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag
("cursor"); |
| 7332 /** | 7131 /** |
| 7333 * Constructor instantiated by the DOM when a custom element has been created. | 7132 * Constructor instantiated by the DOM when a custom element has been created. |
| 7334 * | 7133 * |
| 7335 * This can only be called by subclasses from their created constructor. | 7134 * This can only be called by subclasses from their created constructor. |
| 7336 */ | 7135 */ |
| 7337 _SVGCursorElement.created() : super.created(); | 7136 _SVGCursorElement.created() : super.created(); |
| 7338 | 7137 |
| 7339 /// Checks if this type is supported on the current platform. | 7138 /// Checks if this type is supported on the current platform. |
| 7340 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl
ement.tag('cursor') is _SVGCursorElement); | 7139 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl
ement.tag('cursor') is _SVGCursorElement); |
| 7341 | 7140 |
| 7342 // From SVGExternalResourcesRequired | |
| 7343 | |
| 7344 // From SVGTests | 7141 // From SVGTests |
| 7345 | 7142 |
| 7346 // From SVGURIReference | 7143 // From SVGURIReference |
| 7347 } | 7144 } |
| 7348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7349 // for details. All rights reserved. Use of this source code is governed by a | 7146 // for details. All rights reserved. Use of this source code is governed by a |
| 7350 // BSD-style license that can be found in the LICENSE file. | 7147 // BSD-style license that can be found in the LICENSE file. |
| 7351 | 7148 |
| 7352 | 7149 |
| 7353 @DocsEditable() | 7150 @DocsEditable() |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7537 */ | 7334 */ |
| 7538 _SVGHKernElement.created() : super.created(); | 7335 _SVGHKernElement.created() : super.created(); |
| 7539 } | 7336 } |
| 7540 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7541 // for details. All rights reserved. Use of this source code is governed by a | 7338 // for details. All rights reserved. Use of this source code is governed by a |
| 7542 // BSD-style license that can be found in the LICENSE file. | 7339 // BSD-style license that can be found in the LICENSE file. |
| 7543 | 7340 |
| 7544 | 7341 |
| 7545 @DocsEditable() | 7342 @DocsEditable() |
| 7546 @DomName('SVGMPathElement') | 7343 @DomName('SVGMPathElement') |
| 7547 abstract class _SVGMPathElement extends SvgElement implements UriReference, Exte
rnalResourcesRequired native "SVGMPathElement" { | 7344 abstract class _SVGMPathElement extends SvgElement implements UriReference nativ
e "SVGMPathElement" { |
| 7548 // To suppress missing implicit constructor warnings. | 7345 // To suppress missing implicit constructor warnings. |
| 7549 factory _SVGMPathElement._() { throw new UnsupportedError("Not supported"); } | 7346 factory _SVGMPathElement._() { throw new UnsupportedError("Not supported"); } |
| 7550 | 7347 |
| 7551 @DomName('SVGMPathElement.SVGMPathElement') | 7348 @DomName('SVGMPathElement.SVGMPathElement') |
| 7552 @DocsEditable() | 7349 @DocsEditable() |
| 7553 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"mpath"); | 7350 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"mpath"); |
| 7554 /** | 7351 /** |
| 7555 * Constructor instantiated by the DOM when a custom element has been created. | 7352 * Constructor instantiated by the DOM when a custom element has been created. |
| 7556 * | 7353 * |
| 7557 * This can only be called by subclasses from their created constructor. | 7354 * This can only be called by subclasses from their created constructor. |
| 7558 */ | 7355 */ |
| 7559 _SVGMPathElement.created() : super.created(); | 7356 _SVGMPathElement.created() : super.created(); |
| 7560 | 7357 |
| 7561 // From SVGExternalResourcesRequired | |
| 7562 | |
| 7563 // From SVGURIReference | 7358 // From SVGURIReference |
| 7564 } | 7359 } |
| 7565 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7566 // for details. All rights reserved. Use of this source code is governed by a | 7361 // for details. All rights reserved. Use of this source code is governed by a |
| 7567 // BSD-style license that can be found in the LICENSE file. | 7362 // BSD-style license that can be found in the LICENSE file. |
| 7568 | 7363 |
| 7569 | 7364 |
| 7570 @DocsEditable() | 7365 @DocsEditable() |
| 7571 @DomName('SVGMissingGlyphElement') | 7366 @DomName('SVGMissingGlyphElement') |
| 7572 @Unstable() | 7367 @Unstable() |
| 7573 abstract class _SVGMissingGlyphElement extends SvgElement native "SVGMissingGlyp
hElement" { | 7368 abstract class _SVGMissingGlyphElement extends SvgElement native "SVGMissingGlyp
hElement" { |
| 7574 // To suppress missing implicit constructor warnings. | 7369 // To suppress missing implicit constructor warnings. |
| 7575 factory _SVGMissingGlyphElement._() { throw new UnsupportedError("Not supporte
d"); } | 7370 factory _SVGMissingGlyphElement._() { throw new UnsupportedError("Not supporte
d"); } |
| 7576 /** | 7371 /** |
| 7577 * Constructor instantiated by the DOM when a custom element has been created. | 7372 * Constructor instantiated by the DOM when a custom element has been created. |
| 7578 * | 7373 * |
| 7579 * This can only be called by subclasses from their created constructor. | 7374 * This can only be called by subclasses from their created constructor. |
| 7580 */ | 7375 */ |
| 7581 _SVGMissingGlyphElement.created() : super.created(); | 7376 _SVGMissingGlyphElement.created() : super.created(); |
| 7582 } | 7377 } |
| 7583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7584 // for details. All rights reserved. Use of this source code is governed by a | 7379 // for details. All rights reserved. Use of this source code is governed by a |
| 7585 // BSD-style license that can be found in the LICENSE file. | 7380 // BSD-style license that can be found in the LICENSE file. |
| 7586 | 7381 |
| 7587 | 7382 |
| 7588 @DocsEditable() | 7383 @DocsEditable() |
| 7589 @DomName('SVGPaint') | |
| 7590 @Unstable() | |
| 7591 abstract class _SVGPaint extends _SVGColor native "SVGPaint" { | |
| 7592 // To suppress missing implicit constructor warnings. | |
| 7593 factory _SVGPaint._() { throw new UnsupportedError("Not supported"); } | |
| 7594 } | |
| 7595 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 7596 // for details. All rights reserved. Use of this source code is governed by a | |
| 7597 // BSD-style license that can be found in the LICENSE file. | |
| 7598 | |
| 7599 | |
| 7600 @DocsEditable() | |
| 7601 @DomName('SVGVKernElement') | 7384 @DomName('SVGVKernElement') |
| 7602 @Unstable() | 7385 @Unstable() |
| 7603 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { | 7386 abstract class _SVGVKernElement extends SvgElement native "SVGVKernElement" { |
| 7604 // To suppress missing implicit constructor warnings. | 7387 // To suppress missing implicit constructor warnings. |
| 7605 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } | 7388 factory _SVGVKernElement._() { throw new UnsupportedError("Not supported"); } |
| 7606 | 7389 |
| 7607 @DomName('SVGVKernElement.SVGVKernElement') | 7390 @DomName('SVGVKernElement.SVGVKernElement') |
| 7608 @DocsEditable() | 7391 @DocsEditable() |
| 7609 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7392 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 7610 /** | 7393 /** |
| 7611 * Constructor instantiated by the DOM when a custom element has been created. | 7394 * Constructor instantiated by the DOM when a custom element has been created. |
| 7612 * | 7395 * |
| 7613 * This can only be called by subclasses from their created constructor. | 7396 * This can only be called by subclasses from their created constructor. |
| 7614 */ | 7397 */ |
| 7615 _SVGVKernElement.created() : super.created(); | 7398 _SVGVKernElement.created() : super.created(); |
| 7616 } | 7399 } |
| OLD | NEW |