2022-07-12 20:07:35 +02:00
|
|
|
#import <Geometry/DOMPoint.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <SVG/SVGGraphicsElement.idl>
|
2024-07-10 00:33:48 +01:00
|
|
|
#import <SVG/SVGAnimatedNumber.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGGeometryElement
|
|
|
|
|
[Exposed=Window]
|
2020-10-02 20:57:28 +01:00
|
|
|
interface SVGGeometryElement : SVGGraphicsElement {
|
2025-07-11 23:45:31 +01:00
|
|
|
[SameObject] readonly attribute SVGAnimatedNumber pathLength;
|
2020-10-02 20:57:28 +01:00
|
|
|
|
2024-07-10 00:33:48 +01:00
|
|
|
[FIXME] boolean isPointInFill(optional DOMPointInit point = {});
|
|
|
|
|
[FIXME] boolean isPointInStroke(optional DOMPointInit point = {});
|
2022-07-12 20:07:35 +02:00
|
|
|
float getTotalLength();
|
|
|
|
|
DOMPoint getPointAtLength(float distance);
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|