Unfortunately the
SetPixel
documentation doesn't help. Anyway the
GetPixel
one[
^] does:
ArgumentOutOfRangeException
x is less than 0, or greater than or equal to Width.
-or-
y is less than 0, or greater than or equal to Height.
Basically you cannot address negative coordinates. However you may transform your coordinates in order to fit the
Bitmap
box.