OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::gapi::wip::draw::Poly 結構參考

此結構表示要繪製的多邊形。更多...

#include <opencv2/gapi/render/render_types.hpp>

cv::gapi::wip::draw::Poly 的協作圖

公共成員函式

GAPI_WRAP Poly ()=default
 
GAPI_WRAP Poly (const std::vector< cv::Point > &points_, const cv::Scalar &color_, int thick_=1, int lt_=8, int shift_=0)
 Mosaic 建構函式。
 

公共屬性

GAPI_PROP_RW cv::Scalar color
 線條顏色。
 
GAPI_PROP_RW int lt
 線條型別。參見 LineTypes
 
GAPI_PROP_RW std::vector< cv::Pointpoints
 要連線的點。
 
GAPI_PROP_RW int 移位 (shift)
 點座標中的小數位數。
 
GAPI_PROP_RW int thick
 線條粗細。
 

詳細描述

此結構表示要繪製的多邊形。

建構函式 & 解構函式文件

◆ Poly() [1/2]

GAPI_WRAP cv::gapi::wip::draw::Poly::Poly ( const std::vector< cv::Point > & points_,
const cv::Scalar & color_,
int thick_ = 1,
int lt_ = 8,
int shift_ = 0 )
inline

Mosaic 建構函式。

引數
points_要連線的點
color_線條顏色
thick_線條粗細
lt_線條型別。參見 LineTypes
shift_點座標中的小數位數

◆ Poly() [2/2]

GAPI_WRAP cv::gapi::wip::draw::Poly::Poly ( )
default

成員資料文件

◆ color

GAPI_PROP_RW cv::Scalar cv::gapi::wip::draw::Poly::color

線條顏色。

◆ lt

GAPI_PROP_RW int cv::gapi::wip::draw::Poly::lt

線條型別。參見 LineTypes

◆ points

GAPI_PROP_RW std::vector<cv::Point> cv::gapi::wip::draw::Poly::points

要連線的點。

◆ shift

GAPI_PROP_RW int cv::gapi::wip::draw::Poly::shift

點座標中的小數位數。

◆ thick

GAPI_PROP_RW int cv::gapi::wip::draw::Poly::thick

線條粗細。


此結構的文件是從以下檔案生成的