from_params method

from_params

Creates a CmykColor structure from a 32-bit cyan, magenta, yellow and black values. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.FromComponents.

Returns

The CmykColor.

def from_params(self, cyan, magenta, yellow, black):
    ...
ParameterTypeDescription
cyanintThe cyan component. Valid values are 0 through 255.
magentaintThe magenta component. Valid values are 0 through 255.
yellowintThe yellow component. Valid values are 0 through 255.
blackintThe black component. Valid values are 0 through 255.

See Also