tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

svg-paths.idl (860B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: SVG Paths (https://svgwg.org/specs/paths/)
      5 
      6 [LegacyNoInterfaceObject, Exposed=Window]
      7 interface SVGPathSegment {
      8  attribute DOMString type;
      9  attribute FrozenArray<float> values;
     10 };
     11 
     12 dictionary SVGPathDataSettings {
     13   boolean normalize = false;
     14 };
     15 
     16 interface mixin SVGPathData {
     17   sequence<SVGPathSegment> getPathData(optional SVGPathDataSettings settings = {});
     18   undefined setPathData(sequence<SVGPathSegment> pathData);
     19 };
     20 
     21 [Exposed=Window]
     22 interface SVGPathElement : SVGGeometryElement {
     23 
     24  readonly attribute SVGAnimatedNumber pathLength;
     25 
     26  float getTotalLength();
     27  DOMPoint getPointAtLength(float distance);
     28  SVGPathSegment? getPathSegmentAtLength(float distance);
     29 };
     30 
     31 SVGPathElement includes SVGPathData;