OpenCV 4.10.0-dev
Open Source Computer Vision
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>

Collaboration diagram for cv::gapi::wip::draw::FText:

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]

cv::gapi::wip::draw::FText::FText ( const std::wstring & text_,
const cv::Point & org_,
int fh_,
const cv::Scalar & color_ )
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]

cv::gapi::wip::draw::FText::FText ( )
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: