Click or drag to resize
Accord.NET (logo)

DrawingExtensionsToHyperrectangle Method (Rectangle)

Convert the given System.Drawing.Rectangle to a Hyperrectangle.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public static Hyperrectangle ToHyperrectangle(
	this Rectangle rect
)
Request Example View Source

Parameters

rect
Type: System.DrawingRectangle

Return Value

Type: Hyperrectangle

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Rectangle. 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).
See Also