Color.FromGray
Color.FromGray method
Returns a new Color with the requested gray value.
public static Color FromGray(float gray)
| Parameter | Type | Description |
|---|---|---|
| gray | Single | A float that represents the gray value of the color. |
Return Value
A new instance of the Color class
See Also
- class Color
- package com.aspose.html.drawing
- package Aspose.HTML