OpenCV
4.4.0
Open Source Computer Vision
|
This structure represents a text string to draw using FreeType renderer. More...
#include <opencv2/gapi/render/render.hpp>
Public Member Functions | |
FText (const std::wstring &text_, const cv::Point &org_, int fh_, const cv::Scalar &color_) | |
FText constructor. More... | |
Public Attributes | |
std::wstring | text |
The text string to be drawn. More... | |
cv::Point | org |
The bottom-left corner of the text string in the image. More... | |
int | fh |
The height of text. More... | |
cv::Scalar | color |
The text color. More... | |
This structure represents a text string to draw using FreeType renderer.
If OpenCV is built without FreeType support, this primitive will fail at the execution stage.
|
inline |
FText constructor.
text_ | The text string to be drawn |
org_ | The bottom-left corner of the text string in the image |
fh_ | The height of text |
color_ | The text color |
cv::Scalar cv::gapi::wip::draw::FText::color |
The text color.
int cv::gapi::wip::draw::FText::fh |
The height of text.
cv::Point cv::gapi::wip::draw::FText::org |
The bottom-left corner of the text string in the image.
std::wstring cv::gapi::wip::draw::FText::text |
The text string to be drawn.