Rect.Transform Method (Matrix)


Transforms the rectangle by applying the specified matrix.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public void Transform(
	Matrix matrix


Type: System.Windows.Media.Matrix

A matrix that specifies the transformation to apply.

The following example shows how to use the Transform(Matrix) method to transform a Rect structure by using a Matrix.

.NET Framework
Available since 3.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft