Sets the color of the specified pixel.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void SetPixel( int x, int y, Color color )
Type: System.Int32
The x-coordinate of the pixel to set.Type: System.Int32
The y-coordinate of the pixel to set.Type: Aurigma.GraphicsMill.Color
A Color that represents the color to assign to the specified pixel.If the current Graphics instance is opened for a device context, you should remember than not all devices have per-pixel access support. The coordinates must be inside the clipping region.
This method works quite slow. It is ok to use it to set one color value, but if you need to process multiple pixels, it would be much faster to use direct access to memory.