Class TransformUtils

java.lang.Object
com.itextpdf.svg.utils.TransformUtils

public final class TransformUtils extends Object
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 Details

    • parseTransform

      public static AffineTransform parseTransform (String transform)
      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