Package com.itextpdf.svg.utils
Class TransformUtils
java.lang.Object
com.itextpdf.svg.utils.TransformUtils
Utility class responsible for converting Strings containing transformation declarations into AffineTransform objects.
This class only supports the transformations as described in the SVG specification: - matrix - rotate - scale - skewX - skewY - translate
-
Method Summary
Modifier and TypeMethodDescriptionstatic AffineTransform
parseTransform
(String transform) Converts a string containing a transform declaration into an AffineTransform object.
-
Method Details
-
parseTransform
Converts a string containing a transform declaration into an AffineTransform object. This class only supports the transformations as described in the SVG specification: - matrix - translate - skewx - skewy - rotate - scale- Parameters:
-
transform
- value to be parsed - Returns:
- the AffineTransform object
-