ImageData.GetPixelOffset Method
Definition
Gets the row-major pixel offset, validating the coordinates.
protected int GetPixelOffset(int x, int y);
Parameters
| Name | Type | Description |
|---|---|---|
x |
Int32 |
The horizontal coordinate. |
y |
Int32 |
The vertical coordinate. |
Returns
The pixel offset.