Image.this

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>

Meta