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