Rectangle

Rectangle(double, double, double, double)

Initializes a new instance of the Rectangle class.

public Rectangle(double left, double top, double right, double bottom)
Parameter Type Description
left Double The x-coordinate of the left edge of the rectangular area.
top Double The y-coordinate of the top edge of the rectangular area.
right Double The x-coordinate of the right edge of the rectangular area.
bottom Double The y-coordinate of the bottom edge of the rectangular area.

See Also


Rectangle(Point, Size)

Initializes a new instance of the Rectangle class.

public Rectangle(Point position, Size size)
Parameter Type Description
position Point The coordinates of the upper-left corner of the rectangular area.
size Size The size of the rectangular area.

See Also