System::Drawing::Bitmap::SetPixel 方法

Bitmap::SetPixel method

设置当前对象表示的位图图像中指定像素的颜色。

void System::Drawing::Bitmap::SetPixel(int x, int y, Color color)
参数类型描述
xint像素的 X 坐标
yint像素的 Y 坐标
颜色Color要设置的新颜色

另见