from_cmyk method
from_cmyk
Returns a new Color with the requested cyan, magenta, yellow, key (black) values.
Returns
A new instance of the Color class
def from_cmyk(self, cyan, magenta, yellow, key):
...
| Parameter | Type | Description |
|---|---|---|
| cyan | float | A float that represents the cyan component of the color. |
| magenta | float | A float that represents the magenta component of the color. |
| yellow | float | A float that represents the yellow component of the color. |
| key | float | A float that represents the key component of the color. |
See Also
- module
aspose.svg.drawing - class
Color