Color32FromGray Method
Creates a
Color32 structure representing a grayscale color of the specified
brightness.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static Color32 FromGray(
byte brightness
)
Public Shared Function FromGray (
brightness As Byte
) As Color32
public:
static Color32 FromGray(
unsigned char brightness
)
static member FromGray :
brightness : byte -> Color32
- brightness Byte
- The brightness of the gray color to be created where 0 represents the black color and 255 represents the white color.
Color32A
Color32 structure representing a grayscale color of the specified
brightness.