Skip to content

IndexedImageData.GetPixel Method ​

Definition ​

Gets the colour at the specified coordinates.

c#
public override Colour GetPixel(int x, int y);

View source

Parameters ​

NameTypeDescription
xInt32The horizontal coordinate, starting at zero on the left.
yInt32The vertical coordinate, starting at zero at the top.

Returns ​

Colour

The pixel colour.