Obtain a bounding box which entirely contains the image contents, as displayed on screen. The bounds returned do not account for any viewport clipping or the fact that the image may be partially or wholly obscured by other onscreen content.
- This method returns the bounds of the current onscreen view, and not the nominal size of the source data in the event that the original image has been rescaled.
|coordType ||If 0, the returned bounding box position is returned relative to the screen; if 1, the bounding box position is returned relative to the containing window. |
- a BoundingBox enclosing the image's onscreen representation.