Skip to main content
All docs
V24.2

DXBitmap.GetPixel(Int32, Int32) Method

Gets the color of the specified pixel.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

NuGet Package: DevExpress.Drawing

#Declaration

public Color GetPixel(
    int x,
    int y
)

#Parameters

Name Type Description
x Int32

The x-coordinate of the pixel to retrieve.

y Int32

The y-coordinate of the pixel to retrieve.

#Returns

Type Description
Color

The color of the specified pixel.

See Also