Gets a color of a pixel at specified coordinates.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Type: System.Int32
Horizontal coordinate of the required pixel.Type: System.Int32
Vertical coordinate of the required pixel.If the current GdiGraphics instance is opened for a device context, you should remember than not all devices have per-pixel access support. Also, the coordinates must be inside the clipping region.
This method works quite slow. It is ok to use it to get one color value, but if you need to process multiple pixels, it would be much faster to use direct access to memory.