Table of Contents

Class TransformUtils

Namespace
iText.Svg.Utils
Assembly
itext.svg.dll

Utility class responsible for converting Strings containing transformation declarations into AffineTransform objects.

public sealed class TransformUtils
Inheritance
TransformUtils
Inherited Members

Remarks

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

Methods

ParseTransform(string)

Converts a string containing a transform declaration into an AffineTransform object.

public static AffineTransform ParseTransform(string transform)

Parameters

transform string

value to be parsed

Returns

AffineTransform

the AffineTransform object

Remarks

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