Image.getPixel(Int32, Int32) Method

Definition

Retrieves the ARGB color value of the pixel at the point that is specified by the parameters.

public:
 virtual int getPixel(int _x, int _y);
public virtual int getPixel (int _x, int _y);
abstract member getPixel : int * int -> int
override this.getPixel : int * int -> int
Public Overridable Function getPixel (_x As Integer, _y As Integer) As Integer

Parameters

_x
Int32

The vertical coordinate of the pixel.

_y
Int32

The vertical coordinate of the pixel.

Returns

An integer that is the ARGB value of the pixel (a 32-bit representation of an RGB color).

Applies to