Returns <code>getWidth</code> pixel values starting at offset
<code>x</code> in scanline <code>y</code> in the receiver's
data starting at <code>startIndex</code>.
@param x the x position of the first pixel to get
@param y the y position of the first pixel to get
@param getWidth the width of the data to get
@param pixels the buffer in which to put the pixels
@param startIndex the offset into the byte array to begin storing pixels
@exception IndexOutOfBoundsException if getWidth is too large
@exception IllegalArgumentException <ul>
<li>ERROR_NULL_ARGUMENT - if pixels is null</li>
<li>ERROR_INVALID_ARGUMENT - if x or y is out of bounds</li>
<li>ERROR_INVALID_ARGUMENT - if getWidth is negative</li>
</ul>
@exception SWTException <ul>
<li>ERROR_UNSUPPORTED_DEPTH - if the depth is not one of 1, 2, 4 or 8
(For higher depths, use the int[] version of this method.)</li>
</ul>
Returns <code>getWidth</code> pixel values starting at offset <code>x</code> in scanline <code>y</code> in the receiver's data starting at <code>startIndex</code>.
@param x the x position of the first pixel to get @param y the y position of the first pixel to get @param getWidth the width of the data to get @param pixels the buffer in which to put the pixels @param startIndex the offset into the byte array to begin storing pixels
@exception IndexOutOfBoundsException if getWidth is too large @exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if pixels is null</li> <li>ERROR_INVALID_ARGUMENT - if x or y is out of bounds</li> <li>ERROR_INVALID_ARGUMENT - if getWidth is negative</li> </ul> @exception SWTException <ul> <li>ERROR_UNSUPPORTED_DEPTH - if the depth is not one of 1, 2, 4 or 8 (For higher depths, use the int[] version of this method.)</li> </ul>