| MatrixTransformRectangle Method  | 
 
            Transforms the rectangle with the current matrix.
            
 
    Namespace: 
   Eto.Drawing
    Assembly:
   Eto (in Eto.dll) Version: 2.5.3-dev
 Syntax
Syntaxpublic static RectangleF TransformRectangle(
	this IMatrix matrix,
	RectangleF rect
)
<ExtensionAttribute>
Public Shared Function TransformRectangle ( 
	matrix As IMatrix,
	rect As RectangleF
) As RectangleF
[<ExtensionAttribute>]
static member TransformRectangle : 
        matrix : IMatrix * 
        rect : RectangleF -> RectangleF 
Parameters
- matrix
- Type: Eto.DrawingIMatrix
 Matrix to transform each point of the rectangle.
- rect
- Type: Eto.DrawingRectangleF
 Rectangle to transform.
Return Value
Type: 
RectangleFA new rectangle that encompasses the translated 
rect.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IMatrix. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
 Remarks
Remarks
            This returns a rectangle that encompasses the specified rect after it is translated.
            When rotating, this means that the new rectangle may be larger in size to encompass the translated rectangle.
            
 See Also
See Also