Set the color to a grayscale value.
[C#] void SetGray(int gray) void SetGray(int gray, int alpha) void SetGray(double gray) void SetGray(double gray, double alpha)
void SetGray(int gray) void SetGray(int gray, int alpha) void SetGray(double gray) void SetGray(double gray, double alpha)
Set the color to grayscale and provide a value for it.
Optionally set the alpha value to specify a transparency level. If this parameter is omitted the color is set to fully opaque - no transparency.
None.