# _NvOSD_RectParams Struct Reference

Holds the box parameters of the box to be overlayed. More...

`#include <nvosd.h>`

List of all members.

## Public Attributes

unsigned int | left
| Holds left coordinate of the box in pixels.
unsigned int | top
| Holds top coordinate of the box in pixels.
unsigned int | width
| Holds width of the box in pixels.
unsigned int | height
| Holds height of the box in pixels.
unsigned int | border_width
| Holds border_width of the box in pixels.
NvOSD_ColorParams | border_color
| Holds color params of the border of the box.
unsigned int | has_bg_color
| Holds boolean value indicating whether box has background color.
unsigned int | reserved
| reserved field for future usage.
NvOSD_ColorParams | bg_color
| Holds background color of the box.

## Detailed Description

Holds the box parameters of the box to be overlayed.

Definition at line 95 of file nvosd.h.

## Member Data Documentation

NvOSD_ColorParams _NvOSD_RectParams::bg_color

Holds background color of the box.

Definition at line 115 of file nvosd.h.

NvOSD_ColorParams _NvOSD_RectParams::border_color

Holds color params of the border of the box.

Definition at line 106 of file nvosd.h.

unsigned int _NvOSD_RectParams::border_width

Holds border_width of the box in pixels.

Definition at line 104 of file nvosd.h.

unsigned int _NvOSD_RectParams::has_bg_color

Holds boolean value indicating whether box has background color.

Definition at line 109 of file nvosd.h.

unsigned int _NvOSD_RectParams::height

Holds height of the box in pixels.

Definition at line 102 of file nvosd.h.

unsigned int _NvOSD_RectParams::left

Holds left coordinate of the box in pixels.

Definition at line 96 of file nvosd.h.

unsigned int _NvOSD_RectParams::reserved

reserved field for future usage.

For internal purpose only

Definition at line 112 of file nvosd.h.

unsigned int _NvOSD_RectParams::top

Holds top coordinate of the box in pixels.

Definition at line 98 of file nvosd.h.

unsigned int _NvOSD_RectParams::width

Holds width of the box in pixels.

Definition at line 100 of file nvosd.h.

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

- include/nvosd.h