此结构体表示要绘制的矩形。 更多...
#include <opencv2/gapi/render/render_types.hpp>
此结构体表示要绘制的矩形。
参数匹配 cv::rectangle()。
◆ Rect() [1/2]
| cv::gapi::wip::draw::Rect::Rect |
( |
const cv::Rect & | rect_, |
|
|
const cv::Scalar & | color_, |
|
|
int | thick_ = 1, |
|
|
int | lt_ = 8, |
|
|
int | shift_ = 0 ) |
|
inline |
Rect 构造函数。
- 参数
-
| rect_ | 矩形的坐标 |
| color_ | 文本字符串在图像中的左下角 |
| thick_ | 构成矩形的线条的粗细。 负值(如 FILLED)表示函数必须绘制一个填充矩形 |
| lt_ | 线条的类型。 请参见 LineTypes |
| shift_ | 点坐标中的小数位数 |
◆ Rect() [2/2]
| GAPI_WRAP cv::gapi::wip::draw::Rect::Rect |
( |
| ) |
|
|
default |
◆ color
◆ lt
◆ rect
◆ shift
◆ thick
构成矩形的线条的粗细。 负值(如 FILLED)表示函数必须绘制一个填充矩形。
此结构体的文档是从以下文件生成的