2023-12-17 18:35:21 +00:00
|
|
|
#import <SVG/SVGTextContentElement.idl>
|
|
|
|
#import <SVG/SVGURIReference.idl>
|
|
|
|
|
|
|
|
// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPathElement
|
|
|
|
[Exposed=Window]
|
|
|
|
interface SVGTextPathElement : SVGTextContentElement {
|
2024-01-17 21:03:20 +01:00
|
|
|
// textPath Method Types
|
|
|
|
const unsigned short TEXTPATH_METHODTYPE_UNKNOWN = 0;
|
|
|
|
const unsigned short TEXTPATH_METHODTYPE_ALIGN = 1;
|
|
|
|
const unsigned short TEXTPATH_METHODTYPE_STRETCH = 2;
|
2023-12-17 18:35:21 +00:00
|
|
|
|
2024-01-17 21:03:20 +01:00
|
|
|
// textPath Spacing Types
|
|
|
|
const unsigned short TEXTPATH_SPACINGTYPE_UNKNOWN = 0;
|
|
|
|
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
|
|
|
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
2023-12-17 18:35:21 +00:00
|
|
|
|
2024-05-19 22:15:54 +12:00
|
|
|
[FIXME, SameObject] readonly attribute SVGAnimatedLength startOffset;
|
|
|
|
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration method;
|
|
|
|
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
2023-12-17 18:35:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
SVGTextPathElement includes SVGURIReference;
|