An Image box object is used for displaying an image.
How an image is displayed inside an image box, depends on whether the
height of the box has been set:
If one of them has been set, the other is adjusted to retain the image ratio.
If both have been set, both are used as is.
If neither has been set, the image is scaled to fit the available space.
Also see: Canvas#image
The image that is shown in the box.
Public Class Methods
Public Instance Methods
Fits the image into the available space.