Note
See the Examples section of the GetReadWriteBitmapData method for an example.
Color32 this[
int x
] { set; }WriteOnly Default Property Item (
x As Integer
) As Color32
Setproperty Color32 default[int x] {
void set (int x, Color32 value);
}abstract Item : Color32 with setThe value represents a non-premultiplied color with 8 bits per channel in the sRGB color space, regardless of the underlying PixelFormat. This member is practically the same as the SetColor32 method.
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. |