Skip to content

ImageData.GetPixelOffset Method

Definition

Gets the row-major pixel offset, validating the coordinates.

protected int GetPixelOffset(int x, int y);

View source

Parameters

Name Type Description
x Int32 The horizontal coordinate.
y Int32 The vertical coordinate.

Returns

Int32

The pixel offset.