ImageData.GetPixel Method
Definition
Gets the colour at the specified coordinates.
c#
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
The pixel colour.