2021 Constructor
Changes 0
C

Rectangle(Int32, Int32, Int32, Int32)

Description:
Creates an Rectangle instance with the specified four integers that represent the left, top, right and bottom of a rectangle.
Overloads (3):
Rectangle
Rectangle(Int32,Int32,Int32,Int32)
public Rectangle(
	int left,
	int top,
	int right,
	int bottom
)
  • Int32
    left
    The x-coordinate of the top-left corner.
  • Int32
    top
    The y-coordinate of the top-left corner.
  • Int32
    right
    The x-coordinate of the bottom-right corner.
  • Int32
    bottom
    The y-coordinate of the bottom-right corner.