Image.this
- this(Device device, int width, int height)
- this(Device device, Image srcImage, int flag)
- this(Device device, Rectangle bounds)
- this(Device device, ImageData data)
- this(Device device, ImageData source, ImageData mask)
- this(Device device, InputStream stream)
- this(Device device, String filename)
orgeclipseswtgraphicsImageImage
constructorsfunctionsstatic functionsstatic variablesvariables
Constructs an instance of this class from the given <code>ImageData</code>.
@param device the device on which to create the image @param data the image data to create the image from (must not be null)
@exception IllegalArgumentException <ul> <li>ERROR_NULL_ARGUMENT - if device is null and there is no current device</li> <li>ERROR_NULL_ARGUMENT - if the image data is null</li> </ul> @exception SWTException <ul> <li>ERROR_UNSUPPORTED_DEPTH - if the depth of the ImageData is not supported</li> </ul> @exception SWTError <ul> <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li> </ul>