iText 8.0.2 API
iText.Kernel.Geom.ShapeTransformUtil Class Reference

Public helper class for transforming segments and paths. More...

Static Public Member Functions

static BezierCurve  TransformBezierCurve (BezierCurve bezierCurve, Matrix ctm)
  Method for transforming a bezier curve. More...
 
static Line  TransformLine (Line line, Matrix ctm)
  Method for transforming a line. More...
 
static Path  TransformPath (Path path, Matrix ctm)
  Method for transforming a path. More...
 

Detailed Description

Public helper class for transforming segments and paths.

Member Function Documentation

◆ TransformBezierCurve()

static BezierCurve iText.Kernel.Geom.ShapeTransformUtil.TransformBezierCurve ( BezierCurve  bezierCurve,
Matrix  ctm 
)
inlinestatic

Method for transforming a bezier curve.

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

Parameters
bezierCurve the source bezier curve for transformation
ctm the transformation matrix
Returns
the new transformed bezier curve

◆ TransformLine()

static Line iText.Kernel.Geom.ShapeTransformUtil.TransformLine ( Line  line,
Matrix  ctm 
)
inlinestatic

Method for transforming a line.

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

Parameters
line the source line for transformation
ctm the transformation matrix
Returns
the new transformed line

◆ TransformPath()

static Path iText.Kernel.Geom.ShapeTransformUtil.TransformPath ( Path  path,
Matrix  ctm 
)
inlinestatic

Method for transforming a path.

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

Parameters
path the source path for transformation
ctm the transformation matrix
Returns
the new transformed path