Class PathShapeMapper
java.lang.Object
com.itextpdf.svg.renderers.path.impl.PathShapeMapper
- All Implemented Interfaces:
-
IPathShapeMapper
The implementation of
IPathShapeMapper that will be used by sub classes of PathSvgNodeRenderer To map the path-data instructions(moveto, lineto, corveto ...) to their respective implementations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides a mapping of Path-data instructions' names to path shape classes.
-
Constructor Details
-
PathShapeMapper
public PathShapeMapper()
-
-
Method Details
-
getMapping
Description copied from interface:IPathShapeMapperProvides a mapping of Path-data instructions' names to path shape classes.- Specified by:
-
getMappingin interfaceIPathShapeMapper - Returns:
-
a
Mapwith Strings as keys and {link @IPathShapeimplementations as values
-
getArgumentCount
- Specified by:
-
getArgumentCountin interfaceIPathShapeMapper
-