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.
Namespace: KGySoft.Drawing.ShapesAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
public static Path Transform(
Path path,
TransformationMatrix matrix
)
Public Shared Function Transform (
path As Path,
matrix As TransformationMatrix
) As Path
public:
static Path^ Transform(
Path^ path,
TransformationMatrix matrix
)
static member Transform :
path : Path *
matrix : TransformationMatrix -> Path
- path Path
- The Path instance to transform.
- matrix TransformationMatrix
- The TransformationMatrix to apply.
PathA new
Path instance that contains the same figures as the original
path, transformed by the specified
matrix.