Rectangle

Rectangle class

Represents a rectangle with integer pixel coordinates.

public class Rectangle

Constructors

Name Description
Rectangle(int, int, int, int) Initializes a new instance of the Rectangle class.

Properties

Name Description
Height { get; } Gets the height of the rectangle.
Width { get; } Gets the width of the rectangle.
X { get; } Gets the x-coordinate of the upper-left corner.
Y { get; } Gets the y-coordinate of the upper-left corner.

See Also