from_hsva method
from_hsva
Returns a new Color with the requested hue, saturation, value, alpha.
Returns
A new instance of the Color class
def from_hsva(self, hue, saturation, value, alpha):
...
| Parameter | Type | Description |
|---|---|---|
| hue | float | A float that represents the hue component of the color. |
| saturation | float | A float that represents the saturation component of the color. |
| value | float | A float that represents the value component of the color. |
| alpha | float | A float that represents the alpha component of the color. |
See Also
- module
aspose.html.drawing - class
Color