Color64FromRgb(Int64) Method
Creates a
Color64 structure from a 48-bit RGB value. The highest two bytes of the specified integer are ignored
and the
A property of the result will be 65535.
Namespace: KGySoft.Drawing.ImagingAssembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
public static Color64 FromRgb(
long rgb
)
Public Shared Function FromRgb (
rgb As Long
) As Color64
public:
static Color64 FromRgb(
long long rgb
)
static member FromRgb :
rgb : int64 -> Color64
- rgb Int64
- A value specifying the 48-bit RGB value. As a hex value it can be specified as 0xRRRR_GGGG_BBBB.
The possibly nonzero alpha component will be ignored.
Color64A
Color64 structure from a 48-bit RGB value.