此結構體表示要繪製的矩形。 更多...
#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)表示函式必須繪製一個填充矩形。
此結構體的文件是從以下檔案生成的