PathTransform Method

Returns a new Path instance, whose figures are transformed by the specified matrix. This method does not change the original path instance. To transform the original instance, use the TransformAdded method instead.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
C#
public static Path Transform(
	Path path,
	TransformationMatrix matrix
)

Parameters

path  Path
The Path instance to transform.
matrix  TransformationMatrix
The TransformationMatrix to apply.

Return Value

Path
A new Path instance that contains the same figures as the original path, transformed by the specified matrix.

See Also