Loading...
Searching...
No Matches
cv::gapi::wip::draw::Rect Struct Reference
This structure represents a rectangle to draw. More...
#include <opencv2/gapi/render/render_types.hpp>
Public Member Functions | |
GAPI_WRAP | Rect ()=default |
Rect (const cv::Rect &rect_, const cv::Scalar &color_, int thick_=1, int lt_=8, int shift_=0) | |
Rect constructor. | |
Public Attributes | |
GAPI_PROP_RW cv::Scalar | color |
The rectangle color or brightness (grayscale image) | |
GAPI_PROP_RW int | lt |
The type of the line. See LineTypes. | |
GAPI_PROP_RW cv::Rect | rect |
Coordinates of the rectangle. | |
GAPI_PROP_RW int | shift |
The number of fractional bits in the point coordinates. | |
GAPI_PROP_RW int | thick |
The thickness of lines that make up the rectangle. Negative values, like FILLED, mean that the function has to draw a filled rectangle. | |
Detailed Description
This structure represents a rectangle to draw.
Parameters match cv::rectangle().
Constructor & Destructor Documentation
◆ Rect() [1/2]
|
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]
|
default |
Member Data Documentation
◆ color
GAPI_PROP_RW cv::Scalar cv::gapi::wip::draw::Rect::color |
The rectangle color or brightness (grayscale image)
◆ lt
GAPI_PROP_RW int cv::gapi::wip::draw::Rect::lt |
The type of the line. See LineTypes.
◆ rect
GAPI_PROP_RW cv::Rect cv::gapi::wip::draw::Rect::rect |
Coordinates of the rectangle.
◆ shift
GAPI_PROP_RW int cv::gapi::wip::draw::Rect::shift |
The number of fractional bits in the point coordinates.
◆ thick
GAPI_PROP_RW int cv::gapi::wip::draw::Rect::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:
- opencv2/gapi/render/render_types.hpp