ImageData.this
- this(int width, int height, int depth, PaletteData palette)
- this(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data)
- this(InputStream stream)
- this(String filename)
- this(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data, int maskPad, byte[] maskData, byte[] alphaData, int alpha, int transparentPixel, int type, int x, int y, int disposalMethod, int delayTime)
orgeclipseswtgraphicsImageDataImageData
constructorsfunctionsstatic functionsstatic variablesvariables
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>