ImageData.setAlphas

Sets the alpha values starting at offset <code>x</code> in scanline <code>y</code> in the receiver's alpha data to the values from the array <code>alphas</code> starting at <code>startIndex</code>. The alpha values must be between <code>(byte)0</code> (transparent) and <code>(byte)255</code> (opaque)

@param x the x coordinate of the pixel to being setting the alpha values @param y the y coordinate of the pixel to being setting the alpha values @param putWidth the width of the alpha values to set @param alphas the alpha values to set @param startIndex the index at which to begin setting

@exception IndexOutOfBoundsException if putWidth 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 putWidth is negative</li> </ul>

class ImageData
void
setAlphas
(
int x
,
int y
,,
byte[] alphas
,
)

Meta