Initializes a new instance of the Rectangle class

Namespace: Lucene.Net.Spatial.Geometry.Shape
Assembly: Lucene.Net.Contrib.Spatial (in Lucene.Net.Contrib.Spatial.dll) Version: 2.9.1.2 (2.9.1.002)

Syntax

C#
public Rectangle(
	double x1,
	double y1,
	double x2,
	double y2
)
Visual Basic
Public Sub New ( _
	x1 As Double, _
	y1 As Double, _
	x2 As Double, _
	y2 As Double _
)
Visual C++
public:
Rectangle(
	double x1, 
	double y1, 
	double x2, 
	double y2
)

Parameters

x1
Type: System..::..Double

[Missing <param name="x1"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.Rectangle.#ctor(System.Double,System.Double,System.Double,System.Double)"]

y1
Type: System..::..Double

[Missing <param name="y1"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.Rectangle.#ctor(System.Double,System.Double,System.Double,System.Double)"]

x2
Type: System..::..Double

[Missing <param name="x2"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.Rectangle.#ctor(System.Double,System.Double,System.Double,System.Double)"]

y2
Type: System..::..Double

[Missing <param name="y2"/> documentation for "M:Lucene.Net.Spatial.Geometry.Shape.Rectangle.#ctor(System.Double,System.Double,System.Double,System.Double)"]

See Also