WebIDLpedia

SVGGeometryElement interface

Definition

Scalable Vector Graphics (SVG) 2 defines SVGGeometryElement



[Exposed=Window]
interface SVGGeometryElement : SVGGraphicsElement {
  [SameObject] readonly attribute SVGAnimatedNumber pathLength;

  boolean isPointInFill(optional DOMPointInit point = {});
  boolean isPointInStroke(optional DOMPointInit point = {});
  float getTotalLength();
  DOMPoint getPointAtLength(float distance);
};

Referring IDL interfaces/dictionaries