public void SetPixel(Int32 x, Int32 y, Color colour) { PixelData *pixel = PixelAt(x, y); *pixel = PixelData.FromColor(colour); }
public Color GetPixel(Int32 x, Int32 y) { PixelData returnValue = *PixelAt(x, y); return(returnValue.ToColor()); }