ImageData.this

Constructs a new, empty ImageData with the given width, height, depth and palette. The data will be initialized to an (all zero) array of the appropriate size.

@param width the width of the image @param height the height of the image @param depth the depth of the image @param palette the palette of the image (must not be null)

@exception IllegalArgumentException <ul> <li>ERROR_INVALID_ARGUMENT - if the width or height is negative, or if the depth is not one of 1, 2, 4, 8, 16, 24 or 32</li> <li>ERROR_NULL_ARGUMENT - if the palette is null</li> </ul>

Meta