Skip to content

ImageData.GetPixel Method

Definition

Gets the colour at the specified coordinates.

public abstract Colour GetPixel(int x, int y);

Parameters

Name Type Description
x Int32 The horizontal coordinate, starting at zero on the left.
y Int32 The vertical coordinate, starting at zero at the top.

Returns

Colour

The pixel colour.