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 to
IPathShape
.
-
Method Summary
Modifier and TypeMethodDescriptionProvides 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 andIPathShape
implementations as values
-
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
-