from_oklcha method
from_oklcha
Returns a new Color with the requested luminance, chroma, hue, alpha values for OKLAB model.
Returns
A new instance of the Color
class
def from_oklcha(self, luminance, chroma, hue, alpha):
...
Parameter | Type | Description |
---|---|---|
luminance | float | A float that represents the luminance component of the color. |
chroma | float | A float that represents the chroma component of the color. |
hue | float | A float that represents the hue component of the color. |
alpha | float | A float that represents the alpha component of the color. |
See Also
- module
aspose.svg.drawing
- class
Color