Loading...
Searching...
No Matches
cv::gapi::wip::draw::FText Struct Reference
This structure represents a text string to draw using FreeType renderer. More...
#include <opencv2/gapi/render/render_types.hpp>
Public Member Functions | |
FText ()=default | |
FText (const std::wstring &text_, const cv::Point &org_, int fh_, const cv::Scalar &color_) | |
FText constructor. | |
Public Attributes | |
cv::Scalar | color |
The text color. | |
int | fh |
The height of text. | |
cv::Point | org |
The bottom-left corner of the text string in the image. | |
std::wstring | text |
The text string to be drawn. | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ FText() [1/2]
|
inline |
FText constructor.
- Parameters
-
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
◆ FText() [2/2]
|
default |
Member Data Documentation
◆ color
cv::Scalar cv::gapi::wip::draw::FText::color |
The text color.
◆ fh
int cv::gapi::wip::draw::FText::fh |
The height of text.
◆ org
cv::Point cv::gapi::wip::draw::FText::org |
The bottom-left corner of the text string in the image.
◆ text
std::wstring cv::gapi::wip::draw::FText::text |
The text string to be drawn.
The documentation for this struct was generated from the following file:
- opencv2/gapi/render/render_types.hpp