The X coordinate of the left edge of the rectangle.
The Y coordinate of the top edge of the rectangle.
The X coordinate of the right edge of the rectangle.
The Y coordinate of the bottom edge of the rectangle.
The step value for the calculation (default is 1).
The checksum value as a number.
Calculates a checksum for a rectangular region of pixels.