![]() |
OpenCV 4.12.0
開源計算機視覺
|
此結構體表示要繪製的線條。 更多...
#include <opencv2/gapi/render/render_types.hpp>
公共成員函式 | |
| GAPI_WRAP | Line ()=default |
| GAPI_WRAP | Line (const cv::Point &pt1_, const cv::Point &pt2_, const cv::Scalar &color_, int thick_=1, int lt_=8, int shift_=0) |
| Line 建構函式。 | |
公共屬性 | |
| GAPI_PROP_RW cv::Scalar | color |
| 線條顏色。 | |
| GAPI_PROP_RW int | lt |
| 線條的型別。 請參見 LineTypes。 | |
| GAPI_PROP_RW cv::Point | pt1 |
| 線段的第一個點。 | |
| GAPI_PROP_RW cv::Point | pt2 |
| 線段的第二個點。 | |
| GAPI_PROP_RW int | 移位 (shift) |
| 點座標中的小數位數。 | |
| GAPI_PROP_RW int | thick |
| 線條粗細。 | |
此結構體表示要繪製的線條。
引數匹配 cv::line()。
|
inline |
|
default |
| GAPI_PROP_RW cv::Scalar cv::gapi::wip::draw::Line::color |
線條顏色。
| GAPI_PROP_RW int cv::gapi::wip::draw::Line::lt |
線條的型別。 請參見 LineTypes。
| GAPI_PROP_RW cv::Point cv::gapi::wip::draw::Line::pt1 |
線段的第一個點。
| GAPI_PROP_RW cv::Point cv::gapi::wip::draw::Line::pt2 |
線段的第二個點。
| GAPI_PROP_RW int cv::gapi::wip::draw::Line::shift |
點座標中的小數位數。
| GAPI_PROP_RW int cv::gapi::wip::draw::Line::thick |
線條粗細。