Class SVGPathSupport

java.lang.Object
org.apache.batik.anim.dom.SVGPathSupport

public class SVGPathSupport extends Object
The class provides support for the SVGPath interface.
Version:
$Id: SVGPathSupport.java 1808001 2017-09-11 09:51:29Z ssteiner $
  • Constructor Details

    • SVGPathSupport

      public SVGPathSupport()
  • Method Details

    • getTotalLength

      public static float getTotalLength(SVGOMPathElement path)
      To implement SVGPathElement.getTotalLength().
    • getPathSegAtLength

      public static int getPathSegAtLength(SVGOMPathElement path, float x)
      To implement SVGPathElement.getPathSegAtLength(float).
    • getPointAtLength

      public static org.w3c.dom.svg.SVGPoint getPointAtLength(SVGOMPathElement path, float distance)
      To implement SVGPathElement.getPointAtLength(float).