from_cmyka method
from_cmyka
Returns a new Color with the requested cyan, magenta, yellow, key (black), alpha values.
Returns
A new instance of the Color
class
def from_cmyka(self, cyan, magenta, yellow, key, alpha):
...
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. |
alpha | float | A float that represents the alpha component of the color. |
See Also
- module
aspose.html.drawing
- class
Color