NvOSD_RectParams¶
- class pyds.NvOSD_RectParams¶
- Holds the box parameters of the box to be overlaid. - Variables
- left – float, Holds left coordinate of the box in pixels. 
- top – float, Holds top coordinate of the box in pixels. 
- width – float, Holds width of the box in pixels. 
- height – float, Holds height of the box in pixels. 
- border_width – int, Holds border_width of the box in pixels. 
- border_color – - NvOSD_ColorParams, Holds color params of the border of the box.
- has_bg_color – int, Holds boolean value indicating whether box has background color. 
- bg_color – - NvOSD_ColorParams, Holds background color of the box.
- has_color_info – int, color_info 
- color_id – int, id of the color 
- reserved – int, Reserved field for future usage. For internal purpose only. 
 
 - cast(*args, **kwargs)¶
- Overloaded function. - cast(self: capsule) -> pyds.NvOSD_RectParams 
 - cast given object/data to - NvOSD_RectParams, call pyds.NvOSD_RectParams.cast(data)- cast(self: int) -> pyds.NvOSD_RectParams 
 - cast given object/data to - NvOSD_RectParams, call pyds.NvOSD_RectParams.cast(data)