Region

Represents a region.

Represents a region.

Constructors

public Region(int x, int y, int width, int height)

Initializes a new instance of the Region struct.

Parameters:

x (int)
The x-coordinate.
y (int)
The y-coordinate.
width (int)
The width.
height (int)
The height.

Properties

Height : int

Gets the height.

Width : int

Gets the width.

X : int

Gets the x-coordinate.

Y : int

Gets the y-coordinate.