Package com.itextpdf.svg.renderers.path
Interface IPathShapeMapper
-
- All Known Implementing Classes:
PathShapeMapper
public interface IPathShapeMapper
Interface that will provide a mapping from path element-data instruction names toIPathShape
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.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.java.util.Map<java.lang.String,IPathShape>
getMapping()
Provides a mapping of Path-data instructions' names to path shape classes.
-
-
-
Method Detail
-
getMapping
java.util.Map<java.lang.String,IPathShape> getMapping()
Provides a mapping of Path-data instructions' names to path shape classes.- Returns:
- a
Map
with Strings as keys andIPathShape
implementations as values
-
getArgumentCount
java.util.Map<java.lang.String,java.lang.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
-
-