Draws simple, thick or filled rectangle
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- pt1X
- Type: SystemInt32
X-coordinate of the one of the rectangle vertices. - pt1Y
- Type: SystemInt32
Y-coordinate of the one of the rectangle vertices. - pt2X
- Type: SystemInt32
X-coordinate of the opposite rectangle vertex. - pt2Y
- Type: SystemInt32
Y-coordinate of the opposite rectangle vertex. - color
- Type: OpenCvSharpCvScalar
Line color (RGB) or brightness (grayscale image).
See Also