This structure represents a rectangle to draw.
More...
#include <opencv2/gapi/render/render_types.hpp>
This structure represents a rectangle to draw.
Parameters match cv::rectangle().
◆ Rect() [1/2]
cv::gapi::wip::draw::Rect::Rect |
( |
const cv::Rect & |
rect_, |
|
|
const cv::Scalar & |
color_, |
|
|
int |
thick_ = 1 , |
|
|
int |
lt_ = 8 , |
|
|
int |
shift_ = 0 |
|
) |
| |
|
inline |
Rect constructor.
- Parameters
-
rect_ | Coordinates of the rectangle |
color_ | The bottom-left corner of the text string in the image |
thick_ | The thickness of lines that make up the rectangle. Negative values, like FILLED, mean that the function has to draw a filled rectangle |
lt_ | The type of the line. See LineTypes |
shift_ | The number of fractional bits in the point coordinates |
◆ Rect() [2/2]
GAPI_WRAP cv::gapi::wip::draw::Rect::Rect |
( |
| ) |
|
|
default |
◆ color
The rectangle color or brightness (grayscale image)
◆ lt
◆ rect
Coordinates of the rectangle.
◆ shift
The number of fractional bits in the point coordinates.
◆ thick
The thickness of lines that make up the rectangle. Negative values, like FILLED, mean that the function has to draw a filled rectangle.
The documentation for this struct was generated from the following file: