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
- namespace Aspose.Html.Drawing
- assembly Aspose.HTML