![]() |
OpenCV 4.12.0
開源計算機視覺
|
此結構體表示要使用 FreeType 渲染器繪製的文字字串。更多...
#include <opencv2/gapi/render/render_types.hpp>
公共成員函式 | |
| FText ()=default | |
| FText (const std::wstring &text_, const cv::Point &org_, int fh_, const cv::Scalar &color_) | |
| FText 建構函式。 | |
公共屬性 | |
| cv::Scalar | color |
| 文字顏色。 | |
| int | fh |
| 文字的高度。 | |
| cv::Point | org |
| 文字字串在影像中的左下角。 | |
| std::wstring | text |
| 要繪製的文字字串。 | |
此結構體表示要使用 FreeType 渲染器繪製的文字字串。
如果 OpenCV 在構建時沒有 FreeType 支援,則此基元將在執行階段失敗。
|
inline |
FText 建構函式。
| text_ | 要繪製的文字字串 |
| org_ | 文字字串在影像中的左下角 |
| fh_ | 文字的高度 |
| color_ | 文字顏色 |
|
default |
| cv::Scalar cv::gapi::wip::draw::FText::color |
文字顏色。
| int cv::gapi::wip::draw::FText::fh |
文字的高度。
| cv::Point cv::gapi::wip::draw::FText::org |
文字字串在影像中的左下角。
| std::wstring cv::gapi::wip::draw::FText::text |
要繪製的文字字串。