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 7401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7412 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE lement" { | 7412 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE lement" { |
7413 } | 7413 } |
7414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7415 // for details. All rights reserved. Use of this source code is governed by a | 7415 // for details. All rights reserved. Use of this source code is governed by a |
7416 // BSD-style license that can be found in the LICENSE file. | 7416 // BSD-style license that can be found in the LICENSE file. |
7417 | 7417 |
7418 | 7418 |
7419 @DocsEditable | 7419 @DocsEditable |
7420 @DomName('SVGComponentTransferFunctionElement') | 7420 @DomName('SVGComponentTransferFunctionElement') |
7421 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon entTransferFunctionElement" { | 7421 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon entTransferFunctionElement" { |
7422 | |
7423 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; | |
7424 | |
7425 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; | |
7426 | |
7427 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; | |
7428 | |
7429 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; | |
7430 | |
7431 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; | |
7432 | |
7433 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; | |
7434 | |
7435 @DomName('SVGComponentTransferFunctionElement.amplitude') | |
7436 @DocsEditable | |
7437 final AnimatedNumber amplitude; | |
7438 | |
7439 @DomName('SVGComponentTransferFunctionElement.exponent') | |
7440 @DocsEditable | |
7441 final AnimatedNumber exponent; | |
7442 | |
7443 @DomName('SVGComponentTransferFunctionElement.intercept') | |
7444 @DocsEditable | |
7445 final AnimatedNumber intercept; | |
7446 | |
7447 @JSName('offset') | |
7448 @DomName('SVGComponentTransferFunctionElement.offset') | |
7449 @DocsEditable | |
7450 final AnimatedNumber gradientOffset; | |
7451 | |
7452 @DomName('SVGComponentTransferFunctionElement.slope') | |
7453 @DocsEditable | |
7454 final AnimatedNumber slope; | |
7455 | |
7456 @DomName('SVGComponentTransferFunctionElement.tableValues') | |
7457 @DocsEditable | |
7458 final AnimatedNumberList tableValues; | |
7459 | |
7460 @DomName('SVGComponentTransferFunctionElement.type') | |
7461 @DocsEditable | |
7462 final AnimatedEnumeration type; | |
7463 } | 7422 } |
7464 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7423 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7465 // for details. All rights reserved. Use of this source code is governed by a | 7424 // for details. All rights reserved. Use of this source code is governed by a |
7466 // BSD-style license that can be found in the LICENSE file. | 7425 // BSD-style license that can be found in the LICENSE file. |
7467 | 7426 |
7468 | 7427 |
7469 @DocsEditable | 7428 @DocsEditable |
7470 @DomName('SVGCursorElement') | 7429 @DomName('SVGCursorElement') |
7471 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter nalResourcesRequired native "*SVGCursorElement" { | 7430 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter nalResourcesRequired native "*SVGCursorElement" { |
7472 | 7431 |
7473 @DomName('SVGCursorElement.SVGCursorElement') | 7432 @DomName('SVGCursorElement.SVGCursorElement') |
7474 @DocsEditable | 7433 @DocsEditable |
7475 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag ("cursor"); | 7434 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag ("cursor"); |
7476 | 7435 |
7477 /// Checks if this type is supported on the current platform. | 7436 /// Checks if this type is supported on the current platform. |
7478 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl ement.tag('cursor') is _SVGCursorElement); | 7437 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl ement.tag('cursor') is _SVGCursorElement); |
7479 | 7438 |
7480 @DomName('SVGCursorElement.x') | |
7481 @DocsEditable | |
7482 final AnimatedLength x; | |
7483 | |
7484 @DomName('SVGCursorElement.y') | |
7485 @DocsEditable | |
7486 final AnimatedLength y; | |
7487 | |
7488 // From SVGExternalResourcesRequired | 7439 // From SVGExternalResourcesRequired |
7489 | 7440 |
7490 @DomName('SVGCursorElement.externalResourcesRequired') | |
7491 @DocsEditable | |
7492 final AnimatedBoolean externalResourcesRequired; | |
7493 | |
7494 // From SVGTests | 7441 // From SVGTests |
7495 | 7442 |
7496 @DomName('SVGCursorElement.requiredExtensions') | |
7497 @DocsEditable | |
7498 final StringList requiredExtensions; | |
7499 | |
7500 @DomName('SVGCursorElement.requiredFeatures') | |
7501 @DocsEditable | |
7502 final StringList requiredFeatures; | |
7503 | |
7504 @DomName('SVGCursorElement.systemLanguage') | |
7505 @DocsEditable | |
7506 final StringList systemLanguage; | |
7507 | |
7508 @DomName('SVGCursorElement.hasExtension') | |
7509 @DocsEditable | |
7510 bool hasExtension(String extension) native; | |
7511 | |
7512 // From SVGURIReference | 7443 // From SVGURIReference |
7513 | |
7514 @DomName('SVGCursorElement.href') | |
7515 @DocsEditable | |
7516 final AnimatedString href; | |
7517 } | 7444 } |
7518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7519 // for details. All rights reserved. Use of this source code is governed by a | 7446 // for details. All rights reserved. Use of this source code is governed by a |
7520 // BSD-style license that can be found in the LICENSE file. | 7447 // BSD-style license that can be found in the LICENSE file. |
7521 | 7448 |
7522 | 7449 |
7523 @DocsEditable | 7450 @DocsEditable |
7524 @DomName('SVGFEDropShadowElement') | 7451 @DomName('SVGFEDropShadowElement') |
7525 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEDropShadowElement" { | 7452 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEDropShadowElement" { |
7526 | 7453 |
7527 @DomName('SVGFEDropShadowElement.dx') | |
7528 @DocsEditable | |
7529 final AnimatedNumber dx; | |
7530 | |
7531 @DomName('SVGFEDropShadowElement.dy') | |
7532 @DocsEditable | |
7533 final AnimatedNumber dy; | |
7534 | |
7535 @DomName('SVGFEDropShadowElement.in1') | |
7536 @DocsEditable | |
7537 final AnimatedString in1; | |
7538 | |
7539 @DomName('SVGFEDropShadowElement.stdDeviationX') | |
7540 @DocsEditable | |
7541 final AnimatedNumber stdDeviationX; | |
7542 | |
7543 @DomName('SVGFEDropShadowElement.stdDeviationY') | |
7544 @DocsEditable | |
7545 final AnimatedNumber stdDeviationY; | |
7546 | |
7547 @DomName('SVGFEDropShadowElement.setStdDeviation') | |
7548 @DocsEditable | |
7549 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; | |
7550 | |
7551 // From SVGFilterPrimitiveStandardAttributes | 7454 // From SVGFilterPrimitiveStandardAttributes |
7552 | |
7553 @DomName('SVGFEDropShadowElement.height') | |
7554 @DocsEditable | |
7555 final AnimatedLength height; | |
7556 | |
7557 @DomName('SVGFEDropShadowElement.result') | |
7558 @DocsEditable | |
7559 final AnimatedString result; | |
7560 | |
7561 @DomName('SVGFEDropShadowElement.width') | |
7562 @DocsEditable | |
7563 final AnimatedLength width; | |
7564 | |
7565 @DomName('SVGFEDropShadowElement.x') | |
7566 @DocsEditable | |
7567 final AnimatedLength x; | |
7568 | |
7569 @DomName('SVGFEDropShadowElement.y') | |
7570 @DocsEditable | |
7571 final AnimatedLength y; | |
7572 } | 7455 } |
7573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7574 // for details. All rights reserved. Use of this source code is governed by a | 7457 // for details. All rights reserved. Use of this source code is governed by a |
7575 // BSD-style license that can be found in the LICENSE file. | 7458 // BSD-style license that can be found in the LICENSE file. |
7576 | 7459 |
7577 | 7460 |
7578 @DocsEditable | 7461 @DocsEditable |
7579 @DomName('SVGFontElement') | 7462 @DomName('SVGFontElement') |
7580 class _SVGFontElement extends SvgElement native "*SVGFontElement" { | 7463 class _SVGFontElement extends SvgElement native "*SVGFontElement" { |
7581 } | 7464 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
7639 } | 7522 } |
7640 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7641 // for details. All rights reserved. Use of this source code is governed by a | 7524 // for details. All rights reserved. Use of this source code is governed by a |
7642 // BSD-style license that can be found in the LICENSE file. | 7525 // BSD-style license that can be found in the LICENSE file. |
7643 | 7526 |
7644 | 7527 |
7645 @DocsEditable | 7528 @DocsEditable |
7646 @DomName('SVGGlyphRefElement') | 7529 @DomName('SVGGlyphRefElement') |
7647 class _SVGGlyphRefElement extends StyledElement implements UriReference native " *SVGGlyphRefElement" { | 7530 class _SVGGlyphRefElement extends StyledElement implements UriReference native " *SVGGlyphRefElement" { |
7648 | 7531 |
7649 @DomName('SVGGlyphRefElement.dx') | |
7650 @DocsEditable | |
7651 num dx; | |
7652 | |
7653 @DomName('SVGGlyphRefElement.dy') | |
7654 @DocsEditable | |
7655 num dy; | |
7656 | |
7657 @DomName('SVGGlyphRefElement.format') | |
7658 @DocsEditable | |
7659 String format; | |
7660 | |
7661 @DomName('SVGGlyphRefElement.glyphRef') | |
7662 @DocsEditable | |
7663 String glyphRef; | |
7664 | |
7665 @DomName('SVGGlyphRefElement.x') | |
7666 @DocsEditable | |
7667 num x; | |
7668 | |
7669 @DomName('SVGGlyphRefElement.y') | |
7670 @DocsEditable | |
7671 num y; | |
7672 | |
7673 // From SVGURIReference | 7532 // From SVGURIReference |
7674 | |
7675 @DomName('SVGGlyphRefElement.href') | |
7676 @DocsEditable | |
7677 final AnimatedString href; | |
7678 } | 7533 } |
7679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7680 // for details. All rights reserved. Use of this source code is governed by a | 7535 // for details. All rights reserved. Use of this source code is governed by a |
7681 // BSD-style license that can be found in the LICENSE file. | 7536 // BSD-style license that can be found in the LICENSE file. |
7682 | 7537 |
7683 | 7538 |
7684 @DocsEditable | 7539 @DocsEditable |
7685 @DomName('SVGGradientElement') | 7540 @DomName('SVGGradientElement') |
7686 class _SVGGradientElement extends StyledElement implements UriReference, Externa lResourcesRequired native "*SVGGradientElement" { | 7541 class _SVGGradientElement extends StyledElement implements UriReference, Externa lResourcesRequired native "*SVGGradientElement" { |
7687 | 7542 |
7688 static const int SVG_SPREADMETHOD_PAD = 1; | |
vsm
2013/04/05 15:54:53
Are these SVG changes intended? And related to Wo
blois
2013/04/05 16:43:09
We have a list of types which are removed and the
| |
7689 | |
7690 static const int SVG_SPREADMETHOD_REFLECT = 2; | |
7691 | |
7692 static const int SVG_SPREADMETHOD_REPEAT = 3; | |
7693 | |
7694 static const int SVG_SPREADMETHOD_UNKNOWN = 0; | |
7695 | |
7696 @DomName('SVGGradientElement.gradientTransform') | |
7697 @DocsEditable | |
7698 final AnimatedTransformList gradientTransform; | |
7699 | |
7700 @DomName('SVGGradientElement.gradientUnits') | |
7701 @DocsEditable | |
7702 final AnimatedEnumeration gradientUnits; | |
7703 | |
7704 @DomName('SVGGradientElement.spreadMethod') | |
7705 @DocsEditable | |
7706 final AnimatedEnumeration spreadMethod; | |
7707 | |
7708 // From SVGExternalResourcesRequired | 7543 // From SVGExternalResourcesRequired |
7709 | 7544 |
7710 @DomName('SVGGradientElement.externalResourcesRequired') | |
7711 @DocsEditable | |
7712 final AnimatedBoolean externalResourcesRequired; | |
7713 | |
7714 // From SVGURIReference | 7545 // From SVGURIReference |
7715 | |
7716 @DomName('SVGGradientElement.href') | |
7717 @DocsEditable | |
7718 final AnimatedString href; | |
7719 } | 7546 } |
7720 // 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 |
7721 // 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 |
7722 // BSD-style license that can be found in the LICENSE file. | 7549 // BSD-style license that can be found in the LICENSE file. |
7723 | 7550 |
7724 | 7551 |
7725 @DocsEditable | 7552 @DocsEditable |
7726 @DomName('SVGHKernElement') | 7553 @DomName('SVGHKernElement') |
7727 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" { | 7554 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" { |
7728 | 7555 |
7729 @DomName('SVGHKernElement.SVGHKernElement') | 7556 @DomName('SVGHKernElement.SVGHKernElement') |
7730 @DocsEditable | 7557 @DocsEditable |
7731 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern"); | 7558 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern"); |
7732 } | 7559 } |
7733 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7734 // for details. All rights reserved. Use of this source code is governed by a | 7561 // for details. All rights reserved. Use of this source code is governed by a |
7735 // BSD-style license that can be found in the LICENSE file. | 7562 // BSD-style license that can be found in the LICENSE file. |
7736 | 7563 |
7737 | 7564 |
7738 @DocsEditable | 7565 @DocsEditable |
7739 @DomName('SVGMPathElement') | 7566 @DomName('SVGMPathElement') |
7740 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou rcesRequired native "*SVGMPathElement" { | 7567 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou rcesRequired native "*SVGMPathElement" { |
7741 | 7568 |
7742 @DomName('SVGMPathElement.SVGMPathElement') | 7569 @DomName('SVGMPathElement.SVGMPathElement') |
7743 @DocsEditable | 7570 @DocsEditable |
7744 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag( "mpath"); | 7571 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag( "mpath"); |
7745 | 7572 |
7746 // From SVGExternalResourcesRequired | 7573 // From SVGExternalResourcesRequired |
7747 | 7574 |
7748 @DomName('SVGMPathElement.externalResourcesRequired') | |
7749 @DocsEditable | |
7750 final AnimatedBoolean externalResourcesRequired; | |
7751 | |
7752 // From SVGURIReference | 7575 // From SVGURIReference |
7753 | |
7754 @DomName('SVGMPathElement.href') | |
7755 @DocsEditable | |
7756 final AnimatedString href; | |
7757 } | 7576 } |
7758 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7759 // for details. All rights reserved. Use of this source code is governed by a | 7578 // for details. All rights reserved. Use of this source code is governed by a |
7760 // BSD-style license that can be found in the LICENSE file. | 7579 // BSD-style license that can be found in the LICENSE file. |
7761 | 7580 |
7762 | 7581 |
7763 @DocsEditable | 7582 @DocsEditable |
7764 @DomName('SVGMissingGlyphElement') | 7583 @DomName('SVGMissingGlyphElement') |
7765 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem ent" { | 7584 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem ent" { |
7766 } | 7585 } |
7767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7586 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7768 // for details. All rights reserved. Use of this source code is governed by a | 7587 // for details. All rights reserved. Use of this source code is governed by a |
7769 // BSD-style license that can be found in the LICENSE file. | 7588 // BSD-style license that can be found in the LICENSE file. |
7770 | 7589 |
7771 | 7590 |
7772 @DocsEditable | 7591 @DocsEditable |
7773 @DomName('SVGTRefElement') | 7592 @DomName('SVGTRefElement') |
7774 class _SVGTRefElement extends TextPositioningElement implements UriReference nat ive "*SVGTRefElement" { | 7593 class _SVGTRefElement extends TextPositioningElement implements UriReference nat ive "*SVGTRefElement" { |
7775 | 7594 |
7776 @DomName('SVGTRefElement.SVGTRefElement') | 7595 @DomName('SVGTRefElement.SVGTRefElement') |
7777 @DocsEditable | 7596 @DocsEditable |
7778 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref"); | 7597 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref"); |
7779 | 7598 |
7780 // From SVGURIReference | 7599 // From SVGURIReference |
7781 | |
7782 @DomName('SVGTRefElement.href') | |
7783 @DocsEditable | |
7784 final AnimatedString href; | |
7785 } | 7600 } |
7786 // 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 |
7787 // 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 |
7788 // BSD-style license that can be found in the LICENSE file. | 7603 // BSD-style license that can be found in the LICENSE file. |
7789 | 7604 |
7790 | 7605 |
7791 @DocsEditable | 7606 @DocsEditable |
7792 @DomName('SVGVKernElement') | 7607 @DomName('SVGVKernElement') |
7793 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { | 7608 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" { |
7794 | 7609 |
7795 @DomName('SVGVKernElement.SVGVKernElement') | 7610 @DomName('SVGVKernElement.SVGVKernElement') |
7796 @DocsEditable | 7611 @DocsEditable |
7797 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); | 7612 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern"); |
7798 } | 7613 } |
OLD | NEW |