Class SVGPathSupport


  • public class SVGPathSupport
    extends java.lang.Object
    The class provides support for the SVGPath interface.
    • Constructor Detail

      • SVGPathSupport

        public SVGPathSupport()
    • Method Detail

      • 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).