__init__ constructor

On this page

init

Initializes a new instance of the XmpColorantRgb class.

def __init__(self):
    ...

init

Initializes a new instance of the XmpColorantRgb class.

def __init__(self, red, green, blue):
    ...
Parameter Type Description
red int Red component.
green int Green component.
blue int Blue component.

See Also

On this page