from_hsla method
from_hsla
Returns a new Color with the requested hue, saturation, saturation, alpha values.
Returns
A new instance of the Color class
def from_hsla(self, hue, saturation, lightness, 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. |
| lightness | float | A float that represents the lightness component of the color. |
| alpha | float | A float that represents the alpha component of the color. |
See Also
- module
aspose.svg.drawing - class
Color