SVGTextPathElement.idl 903 B

12345678910111213141516171819202122
  1. #import <SVG/SVGTextContentElement.idl>
  2. #import <SVG/SVGURIReference.idl>
  3. // https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement
  4. [Exposed=Window]
  5. interface SVGTextPathElement : SVGTextContentElement {
  6. // textPath Method Types
  7. const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
  8. const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;
  9. const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2;
  10. // textPath Spacing Types
  11. const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
  12. const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
  13. const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
  14. // FIXME: [SameObject] readonly attribute SVGAnimatedLength startOffset;
  15. // FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration method;
  16. // FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spacing;
  17. };
  18. SVGTextPathElement includes SVGURIReference;