Class ShapeTransformUtil
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
BezierCurvethe source bezier curve for transformation
ctm
Matrixthe 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
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
Returns
- Path
the new transformed path
Remarks
Method for transforming a path. The method creates a new transformed path without changing the original path.