Image.SetPixel Method

SFML.Net

ImageSetPixel Method
Change the color of a pixel

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public void SetPixel(
	uint x,
	uint y,
	Color color
)
Public Sub SetPixel ( 
	x As UInteger,
	y As UInteger,
	color As Color
)
public:
void SetPixel(
	unsigned int x, 
	unsigned int y, 
	Color color
)
member SetPixel : 
        x : uint32 * 
        y : uint32 * 
        color : Color -> unit 

Parameters

x
Type: SystemUInt32
X coordinate of pixel in the image
y
Type: SystemUInt32
Y coordinate of pixel in the image
color
Type: SFML.GraphicsColor
New color for pixel (x, y)
See Also