Bitmap.GetPixel
Bitmap.GetPixel method
Gets the color of the specified pixel in this Bitmap.
public Color GetPixel(int x, int y)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the pixel to retrieve. |
y | Int32 | The y-coordinate of the pixel to retrieve. |
Return Value
A Color structure that represents the color of the specified pixel.
See Also
- struct Color
- class Bitmap
- namespace System.Drawing
- assembly Aspose.Drawing