Table of Contents

Constructor Rectangle

Namespace
DotNetBrowser.Geometry
Assembly
DotNetBrowser.dll

Rectangle(Point, Size)

Initializes a new instance of the Rectangle class with the specified origin and size.

public Rectangle(Point origin, Size size)

Parameters

origin Point

The top-left corner coordinate of the rectangle.

size Size

The rectangle dimensions.

Rectangle(int, int, uint, uint)

Initializes a new instance of the Rectangle class with the specified parameters.

public Rectangle(int x, int y, uint width, uint height)

Parameters

x int

The top-left corner X coordinate of the rectangle.

y int

The top-left corner Y coordinate of the rectangle.

width uint

The rectangle width.

height uint

The rectangle height.