RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Rectangle

Rectangle(Int32, Int32, Int32, Int32)

Constructor
Description:
Creates an Rectangle instance with the specified four integers that represent the left, top, right and bottom of a rectangle.
Syntax
public Rectangle(
	int left,
	int top,
	int right,
	int bottom
)
Parameters
Parameter Type Description
left Int32 The x-coordinate of the top-left corner.
top Int32 The y-coordinate of the top-left corner.
right Int32 The x-coordinate of the bottom-right corner.
bottom Int32 The y-coordinate of the bottom-right corner.
Return Value