Set the color to a grayscale value.
[C#] void SetGray(int gray) void SetGray(int gray, int alpha) [Visual Basic] Sub SetGray(gray As Integer) Sub SetGray(gray As Integer, alpha as Integer)
void SetGray(int gray) void SetGray(int gray, int alpha)
Sub SetGray(gray As Integer) Sub SetGray(gray As Integer, alpha as Integer)
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.
Submit feedback about this site to: