ColorantCmyk constructor

init

Initializes a new instance of the ColorantCmyk class.

def __init__(self):
    ...

init

Initializes a new instance of the ColorantCmyk class.

def __init__(self, black, cyan, magenta, yellow):
    ...
ParameterTypeDescription
blackfloatThe black component value.
cyanfloatThe cyan color component value.
magentafloatThe magenta component value.
yellowfloatThe yellow component value.

See Also