Table of Contents

Class ShapeTransformUtil

Namespace
iText.Kernel.Geom
Assembly
itext.kernel.dll

Public helper class for transforming segments and paths.

public sealed class ShapeTransformUtil
Inheritance
ShapeTransformUtil
Inherited Members

Constructors

ShapeTransformUtil()

public ShapeTransformUtil()

Methods

TransformBezierCurve(BezierCurve, Matrix)

Method for transforming a bezier curve.

public static BezierCurve TransformBezierCurve(BezierCurve bezierCurve, Matrix ctm)

Parameters

bezierCurve BezierCurve

the source bezier curve for transformation

ctm Matrix

the transformation matrix

Returns

BezierCurve

the new transformed bezier curve

Remarks

Method for transforming a bezier curve. The method creates a new transformed bezier curve without changing the original curve.

TransformLine(Line, Matrix)

Method for transforming a line.

public static Line TransformLine(Line line, Matrix ctm)

Parameters

line Line

the source line for transformation

ctm Matrix

the transformation matrix

Returns

Line

the new transformed line

Remarks

Method for transforming a line. The method creates a new transformed line without changing the original line.

TransformPath(Path, Matrix)

Method for transforming a path.

public static Path TransformPath(Path path, Matrix ctm)

Parameters

path Path

the source path for transformation

ctm Matrix

the transformation matrix

Returns

Path

the new transformed path

Remarks

Method for transforming a path. The method creates a new transformed path without changing the original path.