ComponentOne Basic Library for WPF and Silverlight
Transform Method


C1.WPF Namespace > Extensions Class : Transform Method
The Matrix defining transformation.
The x coordinate of the point.
The y coordinate of the point.
Transforms a point by this matrix.
Syntax
'Declaration
 
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function Transform( _
   ByVal matrix As System.Windows.Media.Matrix, _
   ByVal x As System.Double, _
   ByVal y As System.Double _
) As System.Windows.Point
'Usage
 
Dim matrix As System.Windows.Media.Matrix
Dim x As System.Double
Dim y As System.Double
Dim value As System.Windows.Point
 
value = Extensions.Transform(matrix, x, y)
[System.Runtime.CompilerServices.Extension()]
public static System.Windows.Point Transform( 
   System.Windows.Media.Matrix matrix,
   System.double x,
   System.double y
)

Parameters

matrix
The Matrix defining transformation.
x
The x coordinate of the point.
y
The y coordinate of the point.

Return Value

The result of the transformation for the point.
See Also

Reference

Extensions Class
Extensions Members