with_luminosity method
with_luminosity
Creates copy of the Color with specified luminosity.
Returns
A new instance of the Color
class.
def with_luminosity(self, luminosity):
...
Parameter | Type | Description |
---|---|---|
luminosity | float | Value of luminosity |
See Also
- module
aspose.svg.drawing
- class
Color