OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
cv::gapi::wip::draw::Text Struct Reference

A structure to represent parameters for drawing a text string. More...

#include <opencv2/gapi/render.hpp>

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

Public Attributes

std::string text
 The text string to be drawn. More...
 
cv::Point org
 The bottom-left corner of the text string in the image. More...
 
int ff
 The font type, see HersheyFonts. More...
 
double fs
 The font scale factor that is multiplied by the font-specific base size. More...
 
cv::Scalar color
 The text color. More...
 
int thick
 The thickness of the lines used to draw a text. More...
 
int lt
 The line type. More...
 
bool bottom_left_origin
 When true, the image data origin is at the bottom-left corner. More...
 

Detailed Description

A structure to represent parameters for drawing a text string.

Member Data Documentation

◆ bottom_left_origin

bool cv::gapi::wip::draw::Text::bottom_left_origin

When true, the image data origin is at the bottom-left corner.

Otherwise, it is at the top-left corner

◆ color

cv::Scalar cv::gapi::wip::draw::Text::color

The text color.

◆ ff

int cv::gapi::wip::draw::Text::ff

The font type, see HersheyFonts.

◆ fs

double cv::gapi::wip::draw::Text::fs

The font scale factor that is multiplied by the font-specific base size.

◆ lt

int cv::gapi::wip::draw::Text::lt

The line type.

See LineTypes

◆ org

cv::Point cv::gapi::wip::draw::Text::org

The bottom-left corner of the text string in the image.

◆ text

std::string cv::gapi::wip::draw::Text::text

The text string to be drawn.

◆ thick

int cv::gapi::wip::draw::Text::thick

The thickness of the lines used to draw a text.


The documentation for this struct was generated from the following file: