from_hsl method
from_hsl
Returns a new Color with the requested hue, saturation, saturation values.
Returns
A new instance of the Color
class
def from_hsl(self, hue, saturation, lightness):
...
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. |
See Also
- module
aspose.svg.drawing
- class
Color