GetPixel
From SwinGame
GetPixel allows you to read the color of a pixel that has been drawn to a bitmap. This will read the color of the pixel last drawn to the bitmap at that location.
Where: SGSDK_GRAPHICS
Contents |
Languages
Pascal
function GetPixelFrom(from: Bitmap; x, y: Integer): Color;
C#
public static Color Graphics.GetPixel(int x, int y)
Visual Basic .NET
public Function Graphics.GetPixel(ByVal x As Integer, ByVal y As Integer) As Color
Visual Basic 6
public Function Graphics.GetPixel(ByVal x As Integer, ByVal y As Integer) As Color

