Documentation of 'com.mxgraph.util.svg.PathParser' Java class
PathParser
com.mxgraph.util.svg

Class PathParser

  • All Implemented Interfaces:
    Parser


    public class PathParser
    extends NumberParser
    This class implements an event-based parser for the SVG path's d attribute values.
    • Constructor Detail

      • PathParser

        public PathParser(PathHandler handler)
        Creates a new PathParser.
    • Method Detail

      • setPathHandler

        public void setPathHandler(PathHandler handler)
        Allows an application to register a path handler.

        If the application does not register a handler, all events reported by the parser will be silently ignored.

        Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.

        Parameters:
        handler - The transform list handler.
      • getPathHandler

        public PathHandler getPathHandler()
        Returns the path handler in use.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.