此結構體表示要繪製的文字字串。 更多...
#include <opencv2/gapi/render/render_types.hpp>
此結構體表示要繪製的文字字串。
引數匹配 cv::putText()。
◆ Text() [1/2]
| GAPI_WRAP cv::gapi::wip::draw::Text::Text |
( |
const std::string & | text_, |
|
|
const cv::Point & | org_, |
|
|
int | ff_, |
|
|
double | fs_, |
|
|
const cv::Scalar & | color_, |
|
|
int | thick_ = 1, |
|
|
int | lt_ = 8, |
|
|
bool | bottom_left_origin_ = false ) |
|
inline |
Text 建構函式。
- 引數
-
| text_ | 要繪製的文字字串 |
| org_ | 文字字串在影像中的左下角 |
| ff_ | 字型型別,請參見 HersheyFonts |
| fs_ | 字型比例因子,它與字型特定的基本大小相乘 |
| color_ | 文字顏色 |
| thick_ | 用於繪製文字的線條粗細 |
| lt_ | 線條型別。 請參見 LineTypes |
| bottom_left_origin_ | 為 true 時,影像資料原點位於左下角。 否則,它位於左上角 |
◆ Text() [2/2]
| GAPI_WRAP cv::gapi::wip::draw::Text::Text |
( |
| ) |
|
|
default |
◆ bottom_left_origin
| GAPI_PROP_RW bool cv::gapi::wip::draw::Text::bottom_left_origin |
為 true 時,影像資料原點位於左下角。 否則,它位於左上角。
◆ color
◆ ff
◆ fs
◆ lt
◆ org
◆ text
◆ thick
此結構體的文件由以下檔案生成