Interface SVGPathContext

All Superinterfaces:
SVGContext
All Known Implementing Classes:
SVGPathElementBridge

public interface SVGPathContext extends SVGContext
Context class for the SVG path element to support extra methods.
Version:
$Id: SVGPathContext.java 1808001 2017-09-11 09:51:29Z ssteiner $
  • Method Details

    • getTotalLength

      float getTotalLength()
      Returns the total length of the path.
    • getPointAtLength

      Point2D getPointAtLength(float distance)
      Returns the point at the given distance along the path.
    • getPathSegAtLength

      int getPathSegAtLength(float distance)
      Returns the index of the path segment at the given distance along the path.