此结构体表示要绘制的文本字符串。 更多...
#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
此结构体的文档由以下文件生成