TypeLib Xojo support Plugin |

# Rectangle.Constructor Constructor

A constructor which takes x1, y1, x2 and y2 coordinates as a parameters.

Constructor(
x1 as Integer,
y1 as Integer,
x2 as Integer,
y2 as Integer)

#### Parameters

x1
  The left coordinate of the rectangle.
y1
  The top coordinate of the rectangle.
x2
  The right coordinate of the rectangle.
y2
  The bottom coordinate of the rectangle.

#### Remarks

#### See Also

Rectangle Class