Method GetPixel
GetPixel(int, int, bool)
Gets Color at given pixel location.
Color GetPixel(int x, int y, bool withAlpha = false)Parameters
- xint
- X coordinate of the pixel. 
- yint
- Y coordinate of the pixel. 
- withAlphabool
- If true alpha channel is also returned in result (A); if false it is set to 255. 
Returns
Remarks
Some images can have mask color, this method doesn't use this info. You need to add additional code in order to determine transparency if your image is with mask color.