public SetPixel ( int x, int y, Color color ) : void | ||
x | int | X coordinate of the pixel to set. |
y | int | Y coordinate of the pixel to set. |
color | Color | Color to set for the pixel. |
return | void |
public void SetPixel( int x, int y, Color color )
{
SetPixel( x, y, color.R, color.G, color.B, color.A );
}
public void dessinePoint(IntPoint point, UnmanagedImage img,int nbPixel,Color col) { for (int i = point.X - nbPixel / 2; i < point.X + nbPixel / 2 + 1; i++) { for (int j = point.Y - nbPixel / 2; j < point.Y + nbPixel / 2 + 1; j++) { img.SetPixel(i, j, col); } } }