ColorantRgb constructor

init

Initializes a new instance of the ColorantRgb class.

def __init__(self):
    ...

init

Initializes a new instance of the ColorantRgb class.

def __init__(self, red, green, blue):
    ...
ParameterTypeDescription
redbyteThe red component value.
greenbyteThe green component value.
bluebyteThe blue component value.

See Also