void SetColor32(
int x,
Color32 color
)Sub SetColor32 (
x As Integer,
color As Color32
)void SetColor32(
int x,
Color32 color
)abstract SetColor32 :
x : int *
color : Color32 -> unit The color parameter represents a non-premultiplied color with 8 bits per channel in the sRGB color space, regardless of the underlying PixelFormat. This method is practically the same as the indexer.
To access the actual PixelFormat-dependent raw value use the WriteRaw method.
If the color to be set cannot be represented precisely by the owner IWritableBitmapData, then it will be quantized to a supported color value.
| ArgumentOutOfRangeException | x is less than zero or is greater than or equal to the Width of the parent IWritableBitmapData. |