Image.getBounds

Returns the bounds of the receiver. The rectangle will always have x and y values of 0, and the width and height of the image.

@return a rectangle specifying the image's bounds

@exception SWTException <ul> <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> <li>ERROR_INVALID_IMAGE - if the image is not a bitmap or an icon</li> </ul>

class Image
getBounds
(
)

Meta