Interface IPathShapeMapper

All Known Implementing Classes:
PathShapeMapper

public interface IPathShapeMapper
Interface that will provide a mapping from path element-data instruction names to IPathShape.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a mapping of SVG path element's path-data instruction name to the appropriate number of arguments for a path command, based on this passed SVG path data instruction tag.
    Provides a mapping of Path-data instructions' names to path shape classes.
  • Method Details

    • getMapping

      Map<String,IPathShape> getMapping()
      Provides a mapping of Path-data instructions' names to path shape classes.
      Returns:
      a Map with Strings as keys and IPathShape implementations as values
    • getArgumentCount

      Map<String,Integer> getArgumentCount()
      Provides a mapping of SVG path element's path-data instruction name to the appropriate number of arguments for a path command, based on this passed SVG path data instruction tag.
      Returns:
      a Map with Strings as keys and Integers as values