Color64FromGray Method
Creates a
Color64 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
[CLSCompliantAttribute(false)]
public static Color64 FromGray(
ushort brightness
)
<CLSCompliantAttribute(false)>
Public Shared Function FromGray (
brightness As UShort
) As Color64
public:
[CLSCompliantAttribute(false)]
static Color64 FromGray(
unsigned short brightness
)
[<CLSCompliantAttribute(false)>]
static member FromGray :
brightness : uint16 -> Color64
- brightness UInt16
- The brightness of the gray color to be created where 0 represents the black color and 65535 represents the white color.
Color64A
Color64 structure representing a grayscale color of the specified
brightness.