Table of Contents

Constructor Rect2d

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Rect2d(double, double, double, double)

Stores a set of four double-precision floating-point numbers that represent the location and size of a rectangle

public Rect2d(double X, double Y, double Width, double Height)

Parameters

X double

The x-coordinate of the upper-left corner of the rectangle.

Y double

The y-coordinate of the upper-left corner of the rectangle.

Width double

The width of the rectangle.

Height double

The height of the rectangle.

Rect2d(Point2d, Size2d)

Constructor

public Rect2d(Point2d location, Size2d size)

Parameters

location Point2d
size Size2d