from_gray method
from_gray
Returns a new Color with the requested gray value.
Returns
A new instance of the Color
class
def from_gray(self, gray):
...
Parameter | Type | Description |
---|---|---|
gray | float | A float that represents the gray value of the color. |
See Also
- module
aspose.svg.drawing
- class
Color