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):
...
| Parameter | Type | Description |
|---|---|---|
| cyan | int | The cyan component. Valid values are 0 through 255. |
| magenta | int | The magenta component. Valid values are 0 through 255. |
| yellow | int | The yellow component. Valid values are 0 through 255. |
| black | int | The black component. Valid values are 0 through 255. |
See Also
- module
aspose.cad - class
CmykColor