OLD | NEW |
1 library dart.dom.svg; | 1 library dart.dom.svg; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; | 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa
me; |
8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
9 // DO NOT EDIT - unless you are editing documentation as per: | 9 // DO NOT EDIT - unless you are editing documentation as per: |
10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 10 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
(...skipping 7425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7436 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE
lement" { | 7436 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE
lement" { |
7437 } | 7437 } |
7438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7439 // for details. All rights reserved. Use of this source code is governed by a | 7439 // for details. All rights reserved. Use of this source code is governed by a |
7440 // BSD-style license that can be found in the LICENSE file. | 7440 // BSD-style license that can be found in the LICENSE file. |
7441 | 7441 |
7442 | 7442 |
7443 @DocsEditable | 7443 @DocsEditable |
7444 @DomName('SVGComponentTransferFunctionElement') | 7444 @DomName('SVGComponentTransferFunctionElement') |
7445 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon
entTransferFunctionElement" { | 7445 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon
entTransferFunctionElement" { |
7446 | |
7447 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; | |
7448 | |
7449 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; | |
7450 | |
7451 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; | |
7452 | |
7453 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; | |
7454 | |
7455 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; | |
7456 | |
7457 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; | |
7458 | |
7459 @DomName('SVGComponentTransferFunctionElement.amplitude') | |
7460 @DocsEditable | |
7461 final AnimatedNumber amplitude; | |
7462 | |
7463 @DomName('SVGComponentTransferFunctionElement.exponent') | |
7464 @DocsEditable | |
7465 final AnimatedNumber exponent; | |
7466 | |
7467 @DomName('SVGComponentTransferFunctionElement.intercept') | |
7468 @DocsEditable | |
7469 final AnimatedNumber intercept; | |
7470 | |
7471 @JSName('offset') | |
7472 @DomName('SVGComponentTransferFunctionElement.offset') | |
7473 @DocsEditable | |
7474 final AnimatedNumber gradientOffset; | |
7475 | |
7476 @DomName('SVGComponentTransferFunctionElement.slope') | |
7477 @DocsEditable | |
7478 final AnimatedNumber slope; | |
7479 | |
7480 @DomName('SVGComponentTransferFunctionElement.tableValues') | |
7481 @DocsEditable | |
7482 final AnimatedNumberList tableValues; | |
7483 | |
7484 @DomName('SVGComponentTransferFunctionElement.type') | |
7485 @DocsEditable | |
7486 final AnimatedEnumeration type; | |
7487 } | 7446 } |
7488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7489 // for details. All rights reserved. Use of this source code is governed by a | 7448 // for details. All rights reserved. Use of this source code is governed by a |
7490 // BSD-style license that can be found in the LICENSE file. | 7449 // BSD-style license that can be found in the LICENSE file. |
7491 | 7450 |
7492 | 7451 |
7493 @DocsEditable | 7452 @DocsEditable |
7494 @DomName('SVGCursorElement') | 7453 @DomName('SVGCursorElement') |
7495 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter
nalResourcesRequired native "*SVGCursorElement" { | 7454 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter
nalResourcesRequired native "*SVGCursorElement" { |
7496 | 7455 |
7497 @DomName('SVGCursorElement.SVGCursorElement') | 7456 @DomName('SVGCursorElement.SVGCursorElement') |
7498 @DocsEditable | 7457 @DocsEditable |
7499 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag
("cursor"); | 7458 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag
("cursor"); |
7500 | 7459 |
7501 /// Checks if this type is supported on the current platform. | 7460 /// Checks if this type is supported on the current platform. |
7502 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl
ement.tag('cursor') is _SVGCursorElement); | 7461 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl
ement.tag('cursor') is _SVGCursorElement); |
7503 | 7462 |
7504 @DomName('SVGCursorElement.x') | |
7505 @DocsEditable | |
7506 final AnimatedLength x; | |
7507 | |
7508 @DomName('SVGCursorElement.y') | |
7509 @DocsEditable | |
7510 final AnimatedLength y; | |
7511 | |
7512 // From SVGExternalResourcesRequired | 7463 // From SVGExternalResourcesRequired |
7513 | 7464 |
7514 @DomName('SVGCursorElement.externalResourcesRequired') | |
7515 @DocsEditable | |
7516 final AnimatedBoolean externalResourcesRequired; | |
7517 | |
7518 // From SVGTests | 7465 // From SVGTests |
7519 | 7466 |
7520 @DomName('SVGCursorElement.requiredExtensions') | |
7521 @DocsEditable | |
7522 final StringList requiredExtensions; | |
7523 | |
7524 @DomName('SVGCursorElement.requiredFeatures') | |
7525 @DocsEditable | |
7526 final StringList requiredFeatures; | |
7527 | |
7528 @DomName('SVGCursorElement.systemLanguage') | |
7529 @DocsEditable | |
7530 final StringList systemLanguage; | |
7531 | |
7532 @DomName('SVGCursorElement.hasExtension') | |
7533 @DocsEditable | |
7534 bool hasExtension(String extension) native; | |
7535 | |
7536 // From SVGURIReference | 7467 // From SVGURIReference |
7537 | |
7538 @DomName('SVGCursorElement.href') | |
7539 @DocsEditable | |
7540 final AnimatedString href; | |
7541 } | 7468 } |
7542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7543 // for details. All rights reserved. Use of this source code is governed by a | 7470 // for details. All rights reserved. Use of this source code is governed by a |
7544 // BSD-style license that can be found in the LICENSE file. | 7471 // BSD-style license that can be found in the LICENSE file. |
7545 | 7472 |
7546 | 7473 |
7547 @DocsEditable | 7474 @DocsEditable |
7548 @DomName('SVGFEDropShadowElement') | 7475 @DomName('SVGFEDropShadowElement') |
7549 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt
andardAttributes native "*SVGFEDropShadowElement" { | 7476 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt
andardAttributes native "*SVGFEDropShadowElement" { |
7550 | 7477 |
7551 @DomName('SVGFEDropShadowElement.dx') | |
7552 @DocsEditable | |
7553 final AnimatedNumber dx; | |
7554 | |
7555 @DomName('SVGFEDropShadowElement.dy') | |
7556 @DocsEditable | |
7557 final AnimatedNumber dy; | |
7558 | |
7559 @DomName('SVGFEDropShadowElement.in1') | |
7560 @DocsEditable | |
7561 final AnimatedString in1; | |
7562 | |
7563 @DomName('SVGFEDropShadowElement.stdDeviationX') | |
7564 @DocsEditable | |
7565 final AnimatedNumber stdDeviationX; | |
7566 | |
7567 @DomName('SVGFEDropShadowElement.stdDeviationY') | |
7568 @DocsEditable | |
7569 final AnimatedNumber stdDeviationY; | |
7570 | |
7571 @DomName('SVGFEDropShadowElement.setStdDeviation') | |
7572 @DocsEditable | |
7573 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; | |
7574 | |
7575 // From SVGFilterPrimitiveStandardAttributes | 7478 // From SVGFilterPrimitiveStandardAttributes |
7576 | |
7577 @DomName('SVGFEDropShadowElement.height') | |
7578 @DocsEditable | |
7579 final AnimatedLength height; | |
7580 | |
7581 @DomName('SVGFEDropShadowElement.result') | |
7582 @DocsEditable | |
7583 final AnimatedString result; | |
7584 | |
7585 @DomName('SVGFEDropShadowElement.width') | |
7586 @DocsEditable | |
7587 final AnimatedLength width; | |
7588 | |
7589 @DomName('SVGFEDropShadowElement.x') | |
7590 @DocsEditable | |
7591 final AnimatedLength x; | |
7592 | |
7593 @DomName('SVGFEDropShadowElement.y') | |
7594 @DocsEditable | |
7595 final AnimatedLength y; | |
7596 } | 7479 } |
7597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7480 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7598 // for details. All rights reserved. Use of this source code is governed by a | 7481 // for details. All rights reserved. Use of this source code is governed by a |
7599 // BSD-style license that can be found in the LICENSE file. | 7482 // BSD-style license that can be found in the LICENSE file. |
7600 | 7483 |
7601 | 7484 |
7602 @DocsEditable | 7485 @DocsEditable |
7603 @DomName('SVGFontElement') | 7486 @DomName('SVGFontElement') |
7604 class _SVGFontElement extends SvgElement native "*SVGFontElement" { | 7487 class _SVGFontElement extends SvgElement native "*SVGFontElement" { |
7605 } | 7488 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7663 } | 7546 } |
7664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7665 // for details. All rights reserved. Use of this source code is governed by a | 7548 // for details. All rights reserved. Use of this source code is governed by a |
7666 // BSD-style license that can be found in the LICENSE file. | 7549 // BSD-style license that can be found in the LICENSE file. |
7667 | 7550 |
7668 | 7551 |
7669 @DocsEditable | 7552 @DocsEditable |
7670 @DomName('SVGGlyphRefElement') | 7553 @DomName('SVGGlyphRefElement') |
7671 class _SVGGlyphRefElement extends StyledElement implements UriReference native "
*SVGGlyphRefElement" { | 7554 class _SVGGlyphRefElement extends StyledElement implements UriReference native "
*SVGGlyphRefElement" { |
7672 | 7555 |
7673 @DomName('SVGGlyphRefElement.dx') | |
7674 @DocsEditable | |
7675 num dx; | |
7676 | |
7677 @DomName('SVGGlyphRefElement.dy') | |
7678 @DocsEditable | |
7679 num dy; | |
7680 | |
7681 @DomName('SVGGlyphRefElement.format') | |
7682 @DocsEditable | |
7683 String format; | |
7684 | |
7685 @DomName('SVGGlyphRefElement.glyphRef') | |
7686 @DocsEditable | |
7687 String glyphRef; | |
7688 | |
7689 @DomName('SVGGlyphRefElement.x') | |
7690 @DocsEditable | |
7691 num x; | |
7692 | |
7693 @DomName('SVGGlyphRefElement.y') | |
7694 @DocsEditable | |
7695 num y; | |
7696 | |
7697 // From SVGURIReference | 7556 // From SVGURIReference |
7698 | |
7699 @DomName('SVGGlyphRefElement.href') | |
7700 @DocsEditable | |
7701 final AnimatedString href; | |
7702 } | 7557 } |
7703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7704 // for details. All rights reserved. Use of this source code is governed by a | 7559 // for details. All rights reserved. Use of this source code is governed by a |
7705 // BSD-style license that can be found in the LICENSE file. | 7560 // BSD-style license that can be found in the LICENSE file. |
7706 | 7561 |
7707 | 7562 |
7708 @DocsEditable | 7563 @DocsEditable |
7709 @DomName('SVGGradientElement') | 7564 @DomName('SVGGradientElement') |
7710 class _SVGGradientElement extends StyledElement implements UriReference, Externa
lResourcesRequired native "*SVGGradientElement" { | 7565 class _SVGGradientElement extends StyledElement implements UriReference, Externa
lResourcesRequired native "*SVGGradientElement" { |
7711 | 7566 |
7712 static const int SVG_SPREADMETHOD_PAD = 1; | |
7713 | |
7714 static const int SVG_SPREADMETHOD_REFLECT = 2; | |
7715 | |
7716 static const int SVG_SPREADMETHOD_REPEAT = 3; | |
7717 | |
7718 static const int SVG_SPREADMETHOD_UNKNOWN = 0; | |
7719 | |
7720 @DomName('SVGGradientElement.gradientTransform') | |
7721 @DocsEditable | |
7722 final AnimatedTransformList gradientTransform; | |
7723 | |
7724 @DomName('SVGGradientElement.gradientUnits') | |
7725 @DocsEditable | |
7726 final AnimatedEnumeration gradientUnits; | |
7727 | |
7728 @DomName('SVGGradientElement.spreadMethod') | |
7729 @DocsEditable | |
7730 final AnimatedEnumeration spreadMethod; | |
7731 | |
7732 // From SVGExternalResourcesRequired | 7567 // From SVGExternalResourcesRequired |
7733 | 7568 |
7734 @DomName('SVGGradientElement.externalResourcesRequired') | |
7735 @DocsEditable | |
7736 final AnimatedBoolean externalResourcesRequired; | |
7737 | |
7738 // From SVGURIReference | 7569 // From SVGURIReference |
7739 | |
7740 @DomName('SVGGradientElement.href') | |
7741 @DocsEditable | |
7742 final AnimatedString href; | |
7743 } | 7570 } |
7744 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7745 // for details. All rights reserved. Use of this source code is governed by a | 7572 // for details. All rights reserved. Use of this source code is governed by a |
7746 // BSD-style license that can be found in the LICENSE file. | 7573 // BSD-style license that can be found in the LICENSE file. |
7747 | 7574 |
7748 | 7575 |
7749 @DocsEditable | 7576 @DocsEditable |
7750 @DomName('SVGHKernElement') | 7577 @DomName('SVGHKernElement') |
7751 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" { | 7578 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" { |
7752 | 7579 |
7753 @DomName('SVGHKernElement.SVGHKernElement') | 7580 @DomName('SVGHKernElement.SVGHKernElement') |
7754 @DocsEditable | 7581 @DocsEditable |
7755 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"hkern"); | 7582 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"hkern"); |
7756 } | 7583 } |
7757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7758 // for details. All rights reserved. Use of this source code is governed by a | 7585 // for details. All rights reserved. Use of this source code is governed by a |
7759 // BSD-style license that can be found in the LICENSE file. | 7586 // BSD-style license that can be found in the LICENSE file. |
7760 | 7587 |
7761 | 7588 |
7762 @DocsEditable | 7589 @DocsEditable |
7763 @DomName('SVGMPathElement') | 7590 @DomName('SVGMPathElement') |
7764 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou
rcesRequired native "*SVGMPathElement" { | 7591 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou
rcesRequired native "*SVGMPathElement" { |
7765 | 7592 |
7766 @DomName('SVGMPathElement.SVGMPathElement') | 7593 @DomName('SVGMPathElement.SVGMPathElement') |
7767 @DocsEditable | 7594 @DocsEditable |
7768 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"mpath"); | 7595 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"mpath"); |
7769 | 7596 |
7770 // From SVGExternalResourcesRequired | 7597 // From SVGExternalResourcesRequired |
7771 | 7598 |
7772 @DomName('SVGMPathElement.externalResourcesRequired') | |
7773 @DocsEditable | |
7774 final AnimatedBoolean externalResourcesRequired; | |
7775 | |
7776 // From SVGURIReference | 7599 // From SVGURIReference |
7777 | |
7778 @DomName('SVGMPathElement.href') | |
7779 @DocsEditable | |
7780 final AnimatedString href; | |
7781 } | 7600 } |
7782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7783 // for details. All rights reserved. Use of this source code is governed by a | 7602 // for details. All rights reserved. Use of this source code is governed by a |
7784 // BSD-style license that can be found in the LICENSE file. | 7603 // BSD-style license that can be found in the LICENSE file. |
7785 | 7604 |
7786 | 7605 |
7787 @DocsEditable | 7606 @DocsEditable |
7788 @DomName('SVGMissingGlyphElement') | 7607 @DomName('SVGMissingGlyphElement') |
7789 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem
ent" { | 7608 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem
ent" { |
7790 } | 7609 } |
7791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7792 // for details. All rights reserved. Use of this source code is governed by a | 7611 // for details. All rights reserved. Use of this source code is governed by a |
7793 // BSD-style license that can be found in the LICENSE file. | 7612 // BSD-style license that can be found in the LICENSE file. |
7794 | 7613 |
7795 | 7614 |
7796 @DocsEditable | 7615 @DocsEditable |
7797 @DomName('SVGTRefElement') | 7616 @DomName('SVGTRefElement') |
7798 class _SVGTRefElement extends TextPositioningElement implements UriReference nat
ive "*SVGTRefElement" { | 7617 class _SVGTRefElement extends TextPositioningElement implements UriReference nat
ive "*SVGTRefElement" { |
7799 | 7618 |
7800 @DomName('SVGTRefElement.SVGTRefElement') | 7619 @DomName('SVGTRefElement.SVGTRefElement') |
7801 @DocsEditable | 7620 @DocsEditable |
7802 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("
tref"); | 7621 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("
tref"); |
7803 | 7622 |
7804 // From SVGURIReference | 7623 // From SVGURIReference |
7805 | |
7806 @DomName('SVGTRefElement.href') | |
7807 @DocsEditable | |
7808 final AnimatedString href; | |
7809 } | 7624 } |
7810 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7625 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7811 // for details. All rights reserved. Use of this source code is governed by a | 7626 // for details. All rights reserved. Use of this source code is governed by a |
7812 // BSD-style license that can be found in the LICENSE file. | 7627 // BSD-style license that can be found in the LICENSE file. |
7813 | 7628 |
7814 | 7629 |
7815 @DocsEditable | 7630 @DocsEditable |
7816 @DomName('SVGVKernElement') | 7631 @DomName('SVGVKernElement') |
7817 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { | 7632 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { |
7818 | 7633 |
7819 @DomName('SVGVKernElement.SVGVKernElement') | 7634 @DomName('SVGVKernElement.SVGVKernElement') |
7820 @DocsEditable | 7635 @DocsEditable |
7821 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7636 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
7822 } | 7637 } |
OLD | NEW |