Color GetColor(
int x
)
Function GetColor (
x As Integer
) As Color
Color GetColor(
int x
)
abstract GetColor :
x : int -> Color
The returned value is a non-premultiplied color with 8 bits per channel in the sRGB color space, regardless of the underlying PixelFormat. The result of the indexer and the GetColor32 method represent the same range of colors as Color and have a slightly better performance than this method.
To access the actual PixelFormat-dependent raw value use the ReadRaw method.
ArgumentOutOfRangeException | x is less than zero or is greater than or equal to the Width of the parent IReadableBitmapData. |