NvOSD_ColorParams

class pyds.NvOSD_ColorParams(self: pyds.NvOSD_ColorParams) → None

Holds the color parameters of the box or text to be overlayed.

property alpha

Holds alpha component of color. Value must be in the range 0-1.

property blue

Holds blue component of color. Value must be in the range 0-1.

property green

Holds green component of color. Value must be in the range 0-1.

property red

Holds red component of color. Value must be in the range 0-1.

set(self: pyds.NvOSD_ColorParams, arg0: float, arg1: float, arg2: float, arg3: float) → None

sets the color values